PostgreSQLのpg_restoreに脆弱性、悪工作されたアーカイブでOS上でコードを実行されるおそれ
Summary
PostgreSQLのpg_restoreで、入力の検証が不十分なため、細工されたアーカイブによってpg_restoreを実行しているOSユーザーの権限でコードを実行されるおそれがあります。影響を受けるのは18.7より前の18系、17.12より前の17系、16.16より前の16系、15.20より前の15系、14.25より前の14系です。各系列の修正版(18.7、17.12、16.16、15.20、14.25)への更新が必要です。CVSSは8.8で、悪用の有無は公表されていません。
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のpg_restoreで、入力の検証が不十分なため、細工されたアーカイブによってpg_restoreを実行しているOSユーザーの権限でコードを実行されるおそれがあります。影響を受けるのは18.7より前の18系、17.12より前の17系、16.16より前の16系、15.20より前の15系、14.25より前の14系です。各系列の修正版(18.7、17.12、16.16、15.20、14.25)への更新が必要です。CVSSは8.8で、悪用の有無は公表されていません。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CVE の記録PostgreSQL |
≥ 18, < 18.7→ 18.7 ≥ 17, < 17.12→ 17.12 ≥ 16, < 16.16→ 16.16 ≥ 15, < 15.20→ 15.20 < 14.25→ 14.25 |
18.7 17.12 16.16 15.20 14.25 |
| Bitnamipostgresql |
< 14.25.0→ 14.25.0 ≥ 15.0.0, < 15.20.0→ 15.20.0 ≥ 16.0.0, < 16.16.0→ 16.16.0 ≥ 17.0.0, < 17.12.0→ 17.12.0 ≥ 18.0.0, < 18.7.0→ 18.7.0 |
14.25.0 15.20.0 16.16.0 17.12.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-116314 postgresql18, postgresql17, postgresql16 +1 more Fix available
- BellSoft Alpaquita BELL-CVE-2026-116314 postgresql18, postgresql17, postgresql15 Fix available
- Debian DEBIAN-CVE-2026-116314 postgresql-18, postgresql-17, postgresql-15 Fix available
- Ubuntu UBUNTU-CVE-2026-116314 postgresql-18, postgresql-16, postgresql-14 +4 more No fixed version in this record
Original description The description as published by the source.
Improper input validation in PostgreSQL pg_restore allows a non-plain archive provider to execute arbitrary code as the operating system user running pg_restore, via a crafted archive. Note a contrast: crafted archive data may legitimately cause arbitrary SQL to execute at the restore destination, but it does not legitimately confer arbitrary code execution in the pg_restore OS process. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
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