CVE-2026-116318

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductPostgreSQL
PublishedNov 12, 2026
First seenNov 12, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • PostgreSQL18.7 or later

Affected products

ProductAffected versionsFixed in
PostgreSQL18 ≤ v < 18.718.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.