GHSA-5hr4-253g-cpx2 · 深刻度: medium · エコシステム: pip — web3.py: SSRF via CCIP Read (EIP-3668) OffchainLookup URL handling
web3.py allows you to interact with the Ethereum blockchain using Python. From 6.0.0b3 to before 7.15.0 and 8.0.0b2, web3.py implements CCIP Read / OffchainLookup (EIP-3668) by performing HTTP requests to URLs supplied by smart contracts in offchain_lookup_payload["urls"]. The implementation uses these contract-supplied URLs directly (after {sender} / {data} template substitution) without any destination validation. CCIP Read is enabled by default (global_ccip_read_enabled = True on all providers), meaning any application using web3.py's .call() method is exposed without explicit opt-in. This results in Server-Side Request Forgery (SSRF) when web3.py is used in backend services, indexers, APIs, or any environment that performs eth_call / .call() against untrusted or user-supplied contract addresses. A malicious contract can force the web3.py process to issue HTTP requests to arbitrary destinations, including internal network services and cloud metadata endpoints. This vulnerability is fixed in 7.15.0 and 8.0.0b2.
総合評価: CVE-2026-40072 は公開エクスプロイトあり(50/100)。CVSS 深刻度は低。悪用される可能性が高い(EPSS 0.23%、13 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.05% | 0.23% | +0.17% |
| 2 | 2026-04-15 | 0.04% | 0.05% | +0.01% |
| 3 | 2026-04-10 | — | 0.04% | — |
EPSS の全履歴 (全 3 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 1.7 | 4.0 | LOW |
|
— | — | [email protected] |
| 7.2 | 3.1 | HIGH |
|
3.9 | 2.7 | [email protected] |
GHSA-5hr4-253g-cpx2 · 深刻度: medium · エコシステム: pip — web3.py: SSRF via CCIP Read (EIP-3668) OffchainLookup URL handling
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| apeworx | web3.py | >= 6.1.0, < 7.15.0 | cpe:2.3:a:apeworx:web3.py:*:*:*:*:*:python:*:* |
| apeworx | web3.py | 6.0.0 | cpe:2.3:a:apeworx:web3.py:6.0.0:-:*:*:*:python:*:* |
| apeworx | web3.py | 6.0.0 | cpe:2.3:a:apeworx:web3.py:6.0.0:beta10:*:*:*:python:*:* |
| apeworx | web3.py | 6.0.0 | cpe:2.3:a:apeworx:web3.py:6.0.0:beta11:*:*:*:python:*:* |
| apeworx | web3.py | 6.0.0 | cpe:2.3:a:apeworx:web3.py:6.0.0:beta3:*:*:*:python:*:* |
| apeworx | web3.py | 6.0.0 | cpe:2.3:a:apeworx:web3.py:6.0.0:beta4:*:*:*:python:*:* |
| apeworx | web3.py | 6.0.0 | cpe:2.3:a:apeworx:web3.py:6.0.0:beta5:*:*:*:python:*:* |
| apeworx | web3.py | 6.0.0 | cpe:2.3:a:apeworx:web3.py:6.0.0:beta6:*:*:*:python:*:* |
| apeworx | web3.py | 6.0.0 | cpe:2.3:a:apeworx:web3.py:6.0.0:beta7:*:*:*:python:*:* |
| apeworx | web3.py | 6.0.0 | cpe:2.3:a:apeworx:web3.py:6.0.0:beta8:*:*:*:python:*:* |
| apeworx | web3.py | 6.0.0 | cpe:2.3:a:apeworx:web3.py:6.0.0:beta9:*:*:*:python:*:* |
| apeworx | web3.py | 8.0.0 | cpe:2.3:a:apeworx:web3.py:8.0.0:beta1:*:*:*:python:*:* |
| URL | タグ |
|---|---|
| https://github.com/ethereum/web3.py/commit/b1c57bb0a124359c9902daaefab4d8af7c3c4c1e | Patch |
| https://github.com/ethereum/web3.py/security/advisories/GHSA-5hr4-253g-cpx2 | Exploit Mitigation Vendor Advisory |