Lucene search
+L

CVE-2026-17566

🗓️ 31 Jul 2026 16:00:22Reported by PostgreSQLType 
cve
 cve
🔗 web.nvd.nist.gov👁 196 Views🌐 WEB

CVE-2026-17566: pgAdmin 4 Import/Export Data RCE due to backslash-escape mismatch; fix blocks backslashes in single-quoted strings.

Related
Detection
Affected
Refs
Paths
NVD
Node
pgadminpgadmin_4Range<9.18postgresql
[
  {
    "vendor": "pgadmin.org",
    "product": "pgAdmin 4",
    "repo": "https://github.com/pgadmin-org/pgadmin4",
    "modules": [
      "Import/Export Data"
    ],
    "programFiles": [
      "https://github.com/pgadmin-org/pgadmin4/blob/master/web/pgadmin/tools/import_export/__init__.py"
    ],
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "9.18",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
ParameterPositionPathDescriptionCWE
<sid>path/import_export/job/<sid>The Import/Export Data tool's job creation endpoint. It takes a user-supplied SQL query (via the request body) which is interpolated into a psql –copy command. Due to a logic error in the parenthesis balancer regarding backslash escaping, an attacker can inject a TO PROGRAM command to achieve Remote Code Execution.CWE-115, CWE-78

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Oct 2026 23:10Current
8.2High risk
Vulners AI Score8.2
CVSS 49.4
CVSS 3.19.9
EPSS0.00673
SSVC
196