CVE-2026-116330
Received
Received - Intake
PostgreSQL pg_dump Arbitrary Code Execution via restore.sql
Vulnerability report for CVE-2026-116330, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-12
Last updated on: 2026-11-12
Assigner: PostgreSQL
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| postgresql | pg_dump | to 18.7 (exc) |
| postgresql | pg_dump | to 17.12 (exc) |
| postgresql | pg_dump | to 16.16 (exc) |
| postgresql | pg_dump | to 15.20 (exc) |
| postgresql | pg_dump | to 14.25 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-829 | The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. |