# CVE-2026-116318: PostgreSQL pg_dump not-null constraint name allows SQL injection

- Severity: High 8.8 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-11-12T14:15:10.532Z
- Modified: 2026-11-27T06:45:44.646Z
- Also known as: BIT-POSTGRESQL-2026-116318
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## 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.

(As written by CVE List.)

## Affected

- PostgreSQL: from 18 before 18.7
- postgresql (Bitnami): from 18.0.0 before 18.7.0

## Every score

- PostgreSQL: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.postgresql.org/support/security/CVE-2026-116318/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-116318> (web)

## Sources

- CVE List: [CVE-2026-116318](https://www.cve.org/CVERecord?id=CVE-2026-116318), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-116318](https://nvd.nist.gov/vuln/detail/CVE-2026-116318), Public domain, modified 2026-11-13
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-2026-116318](https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-116318), Apache-2.0, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-116318 · Whole record: https://cve.day/CVE-2026-116318.json · Rebuilt by cve.day 2026-11-27T07:07:13.756Z
