CVE-2026-116318
PostgreSQL pg_dump not-null constraint name allows SQL injection
8.8
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| postgresql | n/a | 18 → <18.7 | 18.7 | CVE.org |