Servers and applications
CVE-2026-116330
PostgreSQL pg_dump tar restore.sql fails to block psql command injection
- Severity
- High 8.8
- Published
- 12 Nov 2026
- Last changed
- 13 Nov 2026
- Added to UpHeron
- 13 Nov 2026
- Fixed in
- 14.25, 15.20, 16.16, 17.12, 18.7
- Exploit chance
- 0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 13 Nov 2026
- Weakness
- CWE-829
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Sources
- CVE Program
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 software
| Software | Affected versions |
|---|---|
PostgreSQLServers and applications · cna:n/a|postgresql |
|
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116330