CVE-2026-116318

published 12 Nov 2026 · updated 13 Nov 2026

PostgreSQL pg_dump not-null constraint name allows SQL injection

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 18.7.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=18 <18.718.7

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-116318 severity on Zeptric[![CVE-2026-116318](https://zeptric.io/badge/cve/CVE-2026-116318.svg)](https://zeptric.io/cve/CVE-2026-116318)