CVE-2026-116313
Public on 2026-11-12
Modified on 2026-11-14
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Postgresql14 Extra | libpq | Not Affected | ||
| Amazon Linux 2023 | libpq | Not Affected | ||
| Amazon Linux 2027 Preview | libpq | Not Affected | ||
| Amazon Linux 2 - Core | postgresql | Not Affected | ||
| Amazon Linux 2 - Postgresql14 Extra | postgresql | Not Affected | ||
| Amazon Linux 2023 | postgresql15 | Not Affected | ||
| Amazon Linux 2023 | postgresql16 | Not Affected | ||
| Amazon Linux 2027 Preview | postgresql16 | Not Affected | ||
| Amazon Linux 2023 | postgresql17 | Not Affected | ||
| Amazon Linux 2027 Preview | postgresql17 | Not Affected | ||
| Amazon Linux 2023 | postgresql18 | Pending Fix | ||
| Amazon Linux 2027 Preview | postgresql18 | Pending Fix |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |