CVE-2026-116313
7.2high
PostgreSQL "vacuumdb --missing-stats-only" lets a database owner execute code as the vacuumdb user
- Severity
- 7.2high CVSS:3.1 by PostgreSQL
- Exploit likelihood
- 0.44% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- PostgreSQL
- Also known as
- BIT-POSTGRESQL-2026-116313
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PostgreSQL | from 18 before 18.7 | CVE List |
| postgresql (Bitnami) | from 18.0.0 before 18.7.0 | Bitnami Vulnerability Database |
All scores
| PostgreSQL | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-116313 changed 2026-11-13 | CVE Terms of Use |
| NVD | CVE-2026-116313 changed 2026-11-13 | Public domain |
| Bitnami Vulnerability Database | BIT-POSTGRESQL-2026-116313 changed 2026-11-27 | Apache-2.0 |