freenode

← CVE tracker

CVE-2026-116313

PostgreSQL "vacuumdb --missing-stats-only" lets a database owner execute code as the vacuumdb user

Severity
high CVSS 7.2 (v3.1)
Affects
PostgreSQL · n/a
Weakness
CWE-426: Untrusted Search Path
Published
12 November 2026 by PostgreSQL
First seen on our lists
12 November 2026
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists