Loading advisory.
Loading advisory.
pgAdmin 4: OS command injection vulnerability in Import/Export query export
OS command injection (CWE-78) vulnerability in pgAdmin 4 Import/Export query export.
Published 2026-05-11 14:35 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| pgadmin4 | PyPI | < 9.15 versions 4.20, 4.22, 4.23, 4.24, 4.25, 4.26, 4.27, 4.28, 4.29, 4.30, 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 6.10, 6.11 and 57 more | 9.15 | pip install --upgrade 'pgadmin4>=9.15' |
OS command injection (CWE-78) vulnerability in pgAdmin 4 Import/Export query export.
User-supplied input was interpolated directly into a psql \copy metacommand template without sanitization. An authenticated user could inject ") TO PROGRAM 'cmd'" to break out of the \copy (...) context and achieve arbitrary command execution on the pgAdmin server, or ") TO '/path'" for arbitrary file write. Additional fields (format, on_error, log_verbosity) were also raw-interpolated and exploitable.
Fix adds a parens-balance parser modeled on psql's strtokx tokenizer, allow-lists format/on_error/log_verbosity, rejects null bytes in the query, and tightens type and gating checks.
This issue affects pgAdmin 4: before 9.15.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.014 on 2026-11-24 to 0.022 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.014 | first score | v2026.06.15 |
| 2026-11-26 | 0.022 | 0.014 | v2026.06.15 |