CVE-2026-116330
PostgreSQL pg_dump tar restore.sql fails to block psql command injection
8.8
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| postgresql | n/a | 18 → <18.7; 17 → <17.12; 16 → <16.16; 15 → <15.20; 0 → <14.25 | 14.25 | CVE.org |