CVE-2026-116313
PostgreSQL "vacuumdb --missing-stats-only" lets a database owner execute code as the vacuumdb user
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.
INFO
Published Date :
Nov. 12, 2026, 2:15 p.m.
Last Modified :
Nov. 12, 2026, 2:15 p.m.
Remotely Exploit :
Yes !
Source :
PostgreSQL
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 | ||||
| CVSS 3.1 | HIGH | MITRE-CVE |
Solution
- Update PostgreSQL to version 18.7 or later.
- Avoid affected vacuumdb invocations.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-116313 vulnerability anywhere in the article.