PostgreSQLのvacuumdbに脆弱性、データベース所有者にコードを実行される
Summary
PostgreSQLのvacuumdbに、検索パスの扱いに起因する脆弱性が見つかりました。データベースの所有者が、vacuumdbを実行したユーザーの権限で任意のSQLを実行できるおそれがあります。影響を受けるのはバージョン18の18.7より前で、修正版の18.7への更新で対処できます。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
PostgreSQLのvacuumdbに、検索パスの扱いに起因する脆弱性が見つかりました。データベースの所有者が、vacuumdbを実行したユーザーの権限で任意のSQLを実行できるおそれがあります。影響を受けるのはバージョン18の18.7より前で、修正版の18.7への更新で対処できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CVE の記録PostgreSQL |
≥ 18, < 18.7→ 18.7 |
18.7 |
| Bitnamipostgresql |
≥ 18.0.0, < 18.7.0→ 18.7.0 |
18.7.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-116313 postgresql18, postgresql17, postgresql16 +1 more Fix available
- BellSoft Alpaquita BELL-CVE-2026-116313 postgresql18, postgresql17 Fix available
- Debian DEBIAN-CVE-2026-116313 postgresql-18 Fix available
- Ubuntu UBUNTU-CVE-2026-116313 postgresql-18, postgresql-16, postgresql-14 +4 more No fixed version in this record
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: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- REDHAT Red Hat
- web postgresql.org
- web nvd.nist.gov
- web postgresql.org
- web github.com