CVE-2026-116313

High

Description

Untrusted search path in PostgreSQL vacuumdb allows a database owner to execute arbitrary SQL as the database user running vacuumdb, via shadowing operators used in the --missing-stats-only catalog query. The pg_upgrade documentation recommends an affected vacuumdb invocation. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.

SeverityHigh
CVSS7.2
Exploit probability—
ProductPostgreSQL
PublishedNov 12, 2026
First seenNov 12, 2026
Weakness typeCWE-426CWE-426

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.