PoC Monitor
← All CVEs
CVE-2026-116330published 12 Nov 2026 14:15 UTCData: JSON · API

PostgreSQL

PostgreSQL pg_dump tar restore.sql fails to block psql command injection

Untrusted data inclusion in PostgreSQL pg_dump tar-format restore.sql allows a compromised origin server to execute arbitrary code as the client operating system account running psql, via the predictable restriction key in restore.sql. This is a gap in the fix for CVE-2025-8714. restore.sql is undocumented. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-829
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

n/a PostgreSQL
  • >= 18, < 18.7
  • >= 17, < 17.12
  • >= 16, < 16.16
  • >= 15, < 15.20
  • < 14.25

Fixed in 18.7, 17.12, 16.16, 15.20, 14.25

Mitigation

Upgrade PostgreSQL to 18.7 or 17.12 or 16.16 or 15.20 or 14.25 or later.

Workaround

use pg_restore instead of running restore.sql

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published12 Nov 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.