Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-17566: pgAdmin 4's Import/Export Data tool builds a psql \copy (...) command line by interpolating a user-supplied SQ

48
This month
CRITICAL 9.9UPGRADE

CVE-2026-17566 is a critical-severity flaw (CVSS 9.9) affecting pgadmin 4. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 query with a hand-written parenthesi

Why this priority

  • Critical severity

A fixed release or distro patch exists.

Risk facts

CVSS score9.9 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.7% (top 48%)
CISA exploited listNo
WeaknessCWE-78, CWE-115
Published2026-07-31
Last modified2026-10-23
Publisher (CNA): PostgreSQL · Vendor: pgadmin

Am I affected?

Timeline

pgadmin pgadmin 4 UPGRADE
Affected: < 9.18
Fixed in: 9.18
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy pgadmin-4 || rpm -q pgadmin-4 || pgadmin-4 --version
2. UPGRADE to 9.18 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade pgadmin-4
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade pgadmin-4
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Fedora 46 · python-fontconfig · FIXED · 0.6.3-1.fc46 · FEDORA-2026-f92ca8b01f · source
sudo dnf upgrade --advisory=FEDORA-2026-f92ca8b01f
Fedora ELN · valgrind · FIXED · 3.28.0-1.eln159 · FEDORA-2026-c593ef1d15 · source
sudo dnf upgrade --advisory=FEDORA-2026-c593ef1d15

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Related CVEs

References

← Back to latest CVEs