Skip to content
High 8.8

PostgreSQLのpg_dumpに脆弱性、攻撃者にOS上でコードを実行される恐れ

CVE-2026-116330 First seen on SecPulse

Summary

PostgreSQLのpg_dumpが出力するtar形式のrestore.sqlに、信頼できないデータが混入する脆弱性が見つかりました。悪意のあるサーバーから接続されると、psqlを実行したクライアントのOSアカウントで任意のコードを実行されるおそれがあります。影響を受けるのは18.7より前、17.12より前、16.16より前、15.20より前、14.25より前の各版で、18.7、17.12、16.16、15.20、14.25の各修正版で対策できます。

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_dumpが出力するtar形式のrestore.sqlに、信頼できないデータが混入する脆弱性が見つかりました。悪意のあるサーバーから接続されると、psqlを実行したクライアントのOSアカウントで任意のコードを実行されるおそれがあります。影響を受けるのは18.7より前、17.12より前、16.16より前、15.20より前、14.25より前の各版で、18.7、17.12、16.16、15.20、14.25の各修正版で対策できます。

Affected packages

PackageAffected → 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
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

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

Untrusted data inclusion in PostgreSQL pg_dump tar-format restore.sql allows a compromised origin server to execute arbitrary code as the client operating system account running psql, via the predictable restriction key in restore.sql. This is a gap in the fix for CVE-2025-8714. restore.sql is undocumented. 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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details