CVE-2026-116318
JSON

8.8high

PostgreSQL pg_dump not-null constraint name allows SQL injection

Severity
8.8high CVSS:3.1 by PostgreSQL
Exploit likelihood
0.42% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
BIT-POSTGRESQL-2026-116318

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

Product or packageVersionsReported by
PostgreSQLfrom 18 before 18.7CVE List
postgresql (Bitnami)from 18.0.0 before 18.7.0Bitnami Vulnerability Database

All scores

PostgreSQL8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-116318 changed 2026-11-13CVE Terms of Use
NVDCVE-2026-116318 changed 2026-11-13Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2026-116318 changed 2026-11-27Apache-2.0