← 戻る
CVE-2026-4786
high
CVSS 7.1
libpython に コマンドインジェクション (CVE-2026-4786)
概要
libpython に コマンドインジェクション (CVE-2026-4786) が存在。機密情報が外部に流出する可能性があります。対策: `3.14.5` 以上に更新。
AI要約 snake-internal / snake-material-v2
libpython という製品で、CVE-2026-4786 という番号がついた弱点 (脆弱性) が見つかりました。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 7.1/10 です。
対策: libpython を **3.14.5** 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「libpython CVE-2026-4786」を検索してください。
CVE-2026-4786 (libpython) — CWE-77 / CVSS v3 7.1
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要
修正バージョン: `3.14.5` (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
❓ 何が問題か
libpython に **脆弱性** (CWE-77) があります。
📍 影響範囲
libpython のうち 。
🔥 重要度
重要度: 重要 (CVSS 7.1/10)。機密情報が外部に流出する可能性があります
🔧 修正方法
**3.14.5** に更新してください。
🛡️ 暫定回避
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
🔍 検知方法
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション (7段階)
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'libpython' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `libpython` を grep し、稼働しているサービス・バージョンを把握する。
-
6パッチ適用 patch
Upgrade libpython to 3.14.5ステージング環境で 3.14.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
影響パッケージ
Bitnami
libpython
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.14.5"}]}]
Bitnami
python-min
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.14.5"}]}]
Bitnami
python
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.14.5"}]}]
参照URL
- web https://github.com/python/cpython/commit/c5767a72838a8dda9d6dc5d3558075b055c56bca
- web https://github.com/python/cpython/commit/d22922c8a7958353689dc4763dd72da2dea03fff
- web https://github.com/python/cpython/commit/f4654824ae0850ac87227fb270f9057477946769
- web https://github.com/python/cpython/issues/148169
- web https://github.com/python/cpython/pull/148170
- web [email protected]
- web https://nvd.nist.gov/vuln/detail/CVE-2026-4786
- web https://github.com/python/cpython/commit/28b4ad38067bbdad34edfcd03ad2de5f06387e53
- web https://github.com/python/cpython/commit/d6d68494be70bdbda20f89f83801ba52ec37daa4
- web https://mail.python.org/archives/list/[email protected]/thread/JQDUNJVB4AQNTJECSUKOBDU3XCJIPSE5
- web https://access.redhat.com/errata/RHSA-2026:30078
- web https://access.redhat.com/errata/RHSA-2026:28581
- web https://access.redhat.com/errata/RHSA-2026:28247
- web https://access.redhat.com/errata/RHSA-2026:26187
- web https://access.redhat.com/errata/RHSA-2026:25096
- web https://access.redhat.com/errata/RHSA-2026:22144
- web https://access.redhat.com/errata/RHSA-2026:21682
- web https://access.redhat.com/errata/RHSA-2026:21275
- web https://access.redhat.com/errata/RHSA-2026:19590
- web https://access.redhat.com/errata/RHSA-2026:19589
- web https://access.redhat.com/errata/RHSA-2026:10117
- web https://access.redhat.com/errata/RHSA-2026:30087
- web https://access.redhat.com/errata/RHSA-2026:30088
- web https://access.redhat.com/errata/RHSA-2026:30089
- web https://access.redhat.com/errata/RHSA-2026:8822
- web https://access.redhat.com/errata/RHSA-2026:8824
- web https://access.redhat.com/errata/RHSA-2026:9228
- web https://access.redhat.com/security/cve/CVE-2026-4786
- web https://bugzilla.redhat.com/show_bug.cgi?id=2458049
- web https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4786.json
- web https://access.redhat.com/errata/RHSA-2026:10140
- web https://access.redhat.com/errata/RHSA-2026:10141
- web https://access.redhat.com/errata/RHSA-2026:10711
- web https://access.redhat.com/errata/RHSA-2026:10745
- web https://access.redhat.com/errata/RHSA-2026:10774
- web https://access.redhat.com/errata/RHSA-2026:10949
- web https://access.redhat.com/errata/RHSA-2026:10950
- web https://access.redhat.com/errata/RHSA-2026:11062
- web https://access.redhat.com/errata/RHSA-2026:11077
- web https://access.redhat.com/errata/RHSA-2026:11768
- web https://access.redhat.com/errata/RHSA-2026:13692
- web https://access.redhat.com/errata/RHSA-2026:13812
- web https://access.redhat.com/errata/RHSA-2026:14652
- web https://access.redhat.com/errata/RHSA-2026:14653
- web https://access.redhat.com/errata/RHSA-2026:14656
- web https://access.redhat.com/errata/RHSA-2026:16699
- web https://access.redhat.com/errata/RHSA-2026:17525
- web https://access.redhat.com/errata/RHSA-2026:17619
- web https://access.redhat.com/errata/RHSA-2026:19019
- web https://access.redhat.com/errata/RHSA-2026:19064
- web https://access.redhat.com/errata/RHSA-2026:19175
- web https://access.redhat.com/errata/RHSA-2026:19176
- web https://access.redhat.com/errata/RHSA-2026:19177
- web https://access.redhat.com/errata/RHSA-2026:19216
- web https://access.redhat.com/errata/RHSA-2026:19549
- web https://access.redhat.com/errata/RHSA-2026:19570
- web https://access.redhat.com/errata/RHSA-2026:19571
- web https://access.redhat.com/errata/RHSA-2026:19576
- web https://github.com/advisories/GHSA-cccx-m78h-m3xw
- web https://access.redhat.com/errata/RHSA-2026:35838