CVE-2026-116330
PostgreSQL pg_dump tar restore.sql fails to block psql command injection
No exploitation reported by the sources we read.
- Published2026-11-12
- WeaknessCWE-829
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-11-1214:15CVE publishedCNA
Versions per branch
Products declared by the CNA1 product
As PostgreSQL, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- PostgreSQLother versions: not affectedAffected
- ≥ 18, < 18.7fixed in 18.7rpm
- ≥ 17, < 17.12fixed in 17.12rpm
- ≥ 16, < 16.16fixed in 16.16rpm
- ≥ 15, < 15.20fixed in 15.20rpm
- < 14.25fixed in 14.25rpm
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-12
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- postgresql-12Echoall versions · fixed in 12.22-4.pgdg13+2+e2
Fix
No fix published by the sources we read yet. NVD record
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- EUVD-2026-124509same flawENISA EUVD · LicenseRef-ENISA-legal-notice
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2026-11-12
- Last Modified
- 2026-11-12
- NVD status
- Received
Frequently asked questions
What is CVE-2026-116330?
Is CVE-2026-116330 actively exploited?
What is the CVSS score for CVE-2026-116330?
Running postgresql-12? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-1094same product
- CVE-2026-2005same product
- CVE-2026-2004same productPostgreSQL intarray missing validation of type of input to selectivity estimator executes arbitrary code
- CVE-2026-2006same product
- CVE-2026-6473same product
- CVE-2025-8714same product
- CVE-2025-4207same product
- CVE-2026-16239same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served