GHSA-j74f-g7vx-fh4x · Severity: high · Ecosystem: pip — pgAdmin 4: OS command injection vulnerability in Import/Export query export
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.
Conclusion & alert: CVE-2026-7816 is rated Moderate Risk (60.5/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.44%). Core evidence: EPSS rose +1.32% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.12% | 1.44% | +1.32% |
| 2 | 2026-05-27 | 0.19% | 0.12% | -0.07% |
| 3 | 2026-05-12 | — | 0.19% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.7 | 4.0 | HIGH |
|
— | — | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 |
GHSA-j74f-g7vx-fh4x · Severity: high · Ecosystem: pip — pgAdmin 4: OS command injection vulnerability in Import/Export query export
| vendor | priority | summary | link |
|---|---|---|---|
suse
|
high | CVE-2026-7816 severity important: SUSE including 4 source package names (pgadmin4, pgadmin4-doc, pgadmin4-web, system-user-pgadmin), 40 product×package rows across 13 product lines (SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, … (13 product lines)): Known Not Affected 40. | https://www.suse.com/security/cve/CVE-2026-7816/ |
| URL | Tags |
|---|---|
| https://github.com/pgadmin-org/pgadmin4/issues/9899 | Issue Tracking Patch Vendor Advisory |