CVE-2026-116314: PostgreSQL pg_restore executes arbitrary code due to missing non-plain archive validation
Vulnerability summary
CVE-2026-116314 is a high (CVSS 8.8) Improper Input Validation vulnerability in postgresql-18. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 43.5% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 21 · Related 6Timeline
- 12-11-2026PublishedVulnerability first disclosed.
- 13-11-2026Last modifiedVulnerability information updated.
Description
Improper input validation in PostgreSQL pg_restore allows a non-plain archive provider to execute arbitrary code as the operating system user running pg_restore, via a crafted archive. Note a contrast: crafted archive data may legitimately cause arbitrary SQL to execute at the restore destination, but it does not legitimately confer arbitrary code execution in the pg_restore OS process. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu7 products
- postgresql-10All versions (No fix recorded)
- postgresql-12All versions (No fix recorded)
- postgresql-14All versions (No fix recorded)
- postgresql-16All versions (No fix recorded)
- postgresql-18All versions (No fix recorded)
Alpine4 products
- postgresql15< 15.20-r0
- postgresql16< 16.16-r0
- postgresql17< 17.12-r0
- postgresql18< 18.7-r0
Debian3 products
- postgresql-15All versions (No fix recorded) | < 15.20-0+deb12u1
- postgresql-17All versions (No fix recorded) | < 17.12-0+deb13u1
- postgresql-18All versions (No fix recorded) | < 18.7-1
3 vendors · 14 products