Skip to content
Sign in
CVE-2026-78168.8HighCWE-78

CVE-2026-7816: pgAdmin 4: OS command injection in Import/Export query export via psql metacommand breakout

pgadmin.org · pgAdmin 4

Fixed in 9.15 · Affected: pgadmin.org pgAdmin 4 before 9.15 · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

1.4%probability of exploitation in the next 30 days
73rd percentile
050100

Higher than 73% of scored CVEs

8.8HighCVSS 3.1
LowHigh

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • pgadmin.org · pgAdmin 4from 9.4 before 9.15

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Published
May 2026

CoverageNo articles yet

No CyberSIXT article names CVE-2026-7816 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

Updated AboutDevelopersSign in