Original 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
- PostgreSQL ≥ 18 < 18.7≥ 15 < 15.20≥ 16 < 16.16< 14.25≥ 17 < 17.12 Fixed in: 18.7, 15.20, 16.16, 14.25 model-confirmed match
Details
- Published
- 2026-11-12
- Last modified
- 2026-11-14
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- CWE
- CWE-829
- EPSS (30-day exploit probability)
- 0.37% (percentile 32)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.