Untrusted search path in PostgreSQL vacuumdb allows a database owner to execute arbitrary SQL as the database user running vacuumdb, via shadowing ope...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSpostgresql-9.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSpostgresql-9.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSpostgresql-10 |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSpostgresql-12 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSpostgresql-14 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSpostgresql-16 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10postgresql-18 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSpostgresql-18 |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report postgresql.org
- report postgresql.org