{"id":"CVE-2026-111171","published":"2026-10-15T18:57:55Z","modified":"2026-10-15T19:29:53Z","title":"Web3.py 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0 CCIP-Read SSRF Bypass","vendor":"ethereum","product":"web3.py","tier":"tail","description":{"text":"Web3.py 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0 contains a server-side request forgery vulnerability because _check_ip_blocked() does not unwrap IPv4-mapped IPv6 addresses in CCIP Read URL validation. Malicious contracts can return OffchainLookup URLs with IPv4-mapped IPv6 hosts or AAAA records, making clients with CCIP Read enabled send requests to loopback, private, or link-local services.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00341,"percentile":0.28355,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/ethereum/web3.py/pull/3875","tags":["issue-tracking","technical-description","patch"]},{"url":"https://github.com/ethereum/web3.py/blob/c8c1ed0c9e77e1a8b74902e6a6825e0b00534b10/web3/utils/ccip_url_validation.py#L16-L57","tags":["technical-description"]},{"url":"https://github.com/ethereum/web3.py/security/advisories/GHSA-5hr4-253g-cpx2","tags":["related","vendor-advisory"]},{"url":"https://github.com/ethereum/web3.py","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/web3-py-7.15.0-through-7.16.0-and-8.0-0b2-through-8.0.0-ccip-read-ssrf-bypass","tags":["third-party-advisory"]},{"url":"https://github.com/ApeWorX/web3.py/security/advisories/GHSA-5hr4-253g-cpx2","tags":["exploit"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":5.67},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"ethereum","affectedVersions":[{"vendor":"ethereum","product":"web3.py","versions":[">= 7.15.0, <= 7.16.0",">= 8.0.0b2, <= 8.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-15T19:29:17.459655Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"web3","vulnerableRanges":[">=6.0.0b3, <7.15.0",">=8.0.0b1, <8.0.0b2"],"patched":["7.15.0","8.0.0b2"],"from":["PYSEC-2026-3414"],"provenance":"source"}],"summary":{"text":"The flaw is a server-side request forgery bypass in the CCIP Read URL validation of web3.py (ethereum's Python library), in versions 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0, where the _check_ip_blocked() function fails to unwrap IPv4-mapped IPv6 addresses. An attacker who controls a malicious smart contract can have it return OffchainLookup URLs that use IPv4-mapped IPv6 hosts or AAAA DNS records, causing clients with CCIP Read enabled to send network requests to loopback, private, or link-local services, with no authentication required and only remote network access needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:23Z"},"euvd":{"id":"EUVD-2026-102298","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/ApeWorX/web3.py/security/advisories/GHSA-5hr4-253g-cpx2"],"lineage":{"familyId":"fam-ethereum-web3-py-cve-2026-40072","parents":[{"from":"CVE-2026-40072","to":"CVE-2026-111171","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-5hr4-253g-cpx2","via":"reference","url":"https://github.com/ethereum/web3.py/security/advisories/GHSA-5hr4-253g-cpx2"},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + CWE + description similarity"}]}]}}