RCE in Pgadmin.org Pgadmin 4

CVE-2026-17566

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 (…

Vulnerability class: Command Injection (OS Command Injection)

CVSS v3 metric

CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-17566?
CVE-2026-17566 is a critical-severity vulnerability in Pgadmin.org Pgadmin 4, classified under OS Command Injection. CVSS score: 9.9/10. Published 2026-07-31.
How severe is CVE-2026-17566?
Critical severity. CVSS v3 base score is 9.9 out of 10.