Untrusted search path in PostgreSQL - CVE-2026-116313
Published: November 12, 2026
Vulnerability details
The vulnerability allows a remote privileged user to execute arbitrary SQL with the privileges of the database user running vacuumdb.
The vulnerability exists due to an untrusted search path in PostgreSQL vacuumdb when executing the --missing-stats-only catalog query. A remote privileged user can use database ownership privileges to shadow operators used by this query to execute arbitrary SQL as the database user running vacuumdb.