PostgreSQL pg_dump restore.sql Untrusted Data Inclusion RCE (pre 18.7-14.25)
CVE-2026-116330 Published on November 12, 2026

PostgreSQL pg_dump tar restore.sql fails to block psql command injection
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.

NVD

Vulnerability Analysis

Exploitation:
NONE
Automatable:
NO
Technical Impact:
TOTAL

Weakness Type

Inclusion of Functionality from Untrusted Control Sphere

The software imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.


Products Associated with CVE-2026-116330

Want to know whenever a new CVE is published for PostgreSQL? stack.watch will email you.

Exploit Probability

EPSS
0.47%
Percentile
41.84%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.