CVE-2026-17566: Vulnerability in Pgadmin 4
Critical. pgAdmin 4's Import/Export Data tool builds a psql \copy (...) command line by interpolating a user-supplied SQL query into a Jinja template and passing the rendered line to psql via --command. To stop an attacker from breaking out of the (...) wrapper, create_import_export_job() (route POST /import_export/job/<sid>, gated only by the ordinary, commonly-granted tools_import_export_data permission) validated the...
CWE-78, CWE-115
- Exploitation
- None confirmed
- Severity
- 9.9 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-78, CWE-115
- Published
- 31 Jul 2026
- Last change
- 23 Oct 2026
Affected products
Affected versions and the first fixed release
- Pgadmin 4 Before 9.18. Fixed in 9.18
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
Related
- Pgadmin 4 vulnerabilities Recent advisories, watch this product