Skip to content
Fencer Intel
high 8.8

CVE-2026-116318 json

PostgreSQL pg_dump not-null constraint name allows SQL injection

published 2d ago modified 2d ago also EUVD-2026-124498

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 37%
public exploits
0
none known

Summary

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.

Patch / fix

  • n/a PostgreSQL 18.7
  • postgresql15 Alpine 3.22, Alpine 3.21 15.20-r0
  • postgresql16 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 16.16-r0
  • postgresql17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 17.12-r0
  • postgresql18 Alpine 3.24, Alpine 3.23 18.7-r0

alpine advisories ALPINE-CVE-2026-116318

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2026-116318 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-116318 updated cvss 8.8

postgresql: postgresql: Arbitrary SQL execution via improper constraint quoting in pg_dump

  • Red Hat Hardened Images postgresql18 18.6-1.hum1
    affected: workaround, no fix available
  • Red Hat Hardened Images libpq 18.7-0.1.hum1, postgresql17 17.11-1.2.hum1, postgresql17-test 17.11-1.2.hum1, postgresql17-pltcl 17.11-1.2.hum1, postgresql17-plperl 17.11-1.2.hum1, postgresql17-server 17.11-1.2.hum1, +5 more
    fixed: vendor fix RHSA-2026:99821

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
3d ago

Exploit prediction

0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-14).

CVSS scores

assigned by version score vector
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • n/a PostgreSQL

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.