CVE-2026-116318: PostgreSQL pg_dump not-null constraint name allows SQL injection
Vulnerability summary
CVE-2026-116318 is a high (CVSS 8.8) vulnerability in postgresql-18. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 37.9% 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 8 · Related 2Timeline
- 12-11-2026PublishedVulnerability first disclosed.
- 13-11-2026Last modifiedVulnerability information updated.
Description
SQL injection in PostgreSQL pg_dump allows an object creator to execute arbitrary SQL as the user restoring the dump, via an inherited column having a child-local not-null constraint whose name requires quoting. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.42%
Chance of exploitation in the next 30 days
Percentile
38%
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, low-privilege account, no 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)
- postgresql-17All versions (No fix recorded)
- postgresql-18All versions (No fix recorded) | < 18.7-1
3 vendors · 14 products