{"id":"CVE-2026-116330","published":"2026-11-12T14:15:17Z","modified":"2026-11-14T04:57:55Z","title":"PostgreSQL pg_dump tar restore.sql fails to block psql command injection","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00474,"percentile":0.41822,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-116330/","tags":[]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":8.36},{"name":"CVSS severity","points":6.16}]},"affectedVersions":[{"vendor":"n/a","product":"PostgreSQL","versions":[">= 18, < 18.7",">= 17, < 17.12",">= 16, < 16.16",">= 15, < 15.20","< 14.25"]}],"workarounds":{"items":["use pg_restore instead of running restore.sql"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-13T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-124509","exploited":false,"provenance":"source"}}