{"affected":[{"defaultStatus":"unaffected","product":"PostgreSQL","source":"CNA: PostgreSQL","vendor":"n/a","versions":[{"lessThan":"18.7","status":"affected","version":"18","versionType":"rpm"},{"lessThan":"17.12","status":"affected","version":"17","versionType":"rpm"},{"lessThan":"16.16","status":"affected","version":"16","versionType":"rpm"},{"lessThan":"15.20","status":"affected","version":"15","versionType":"rpm"},{"lessThan":"14.25","status":"affected","version":"0","versionType":"rpm"}]}],"cveId":"CVE-2026-116330","cwes":["CWE-829"],"description":"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.8,"severity":"high","source":"CNA: PostgreSQL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1794492917385,"publishedAt":1794492917385,"references":[{"source":"CNA: PostgreSQL","tags":[],"url":"https://www.postgresql.org/support/security/CVE-2026-116330/"}],"remediation":[{"kind":"workaround","source":"CNA: PostgreSQL","text":"use pg_restore instead of running restore.sql"}],"revision":"b9f657d9f32162022eba6e7edea7c1b285ffdb39533256c74a4e8b8bdc5866d7","sources":[{"modifiedAt":1794492917385,"name":"CNA: PostgreSQL","retrievedAt":1794496190191,"url":"https://www.cve.org/CVERecord?id=CVE-2026-116330"}],"ssvc":null,"status":"published","title":"PostgreSQL pg_dump tar restore.sql fails to block psql command injection","updatedAt":1794496190191}