{"id":"CVE-2026-111171","summary":"Web3.py 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0 CCIP-Read SSRF Bypass","details":"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.","aliases":["CVE-2026-40072","GHSA-5hr4-253g-cpx2","PYSEC-2026-3414"],"modified":"2026-10-17T02:48:19.005497907Z","published":"2026-10-15T18:57:55.904Z","database_specific":{"cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111171.json","cna_assigner":"VulnCheck"},"references":[{"type":"WEB","url":"https://pypi.org"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111171.json"},{"type":"ADVISORY","url":"https://github.com/ethereum/web3.py/security/advisories/GHSA-5hr4-253g-cpx2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111171"},{"type":"ADVISORY","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"},{"type":"FIX","url":"https://github.com/ethereum/web3.py/pull/3875"},{"type":"PACKAGE","url":"https://github.com/ethereum/web3.py"},{"type":"ARTICLE","url":"https://github.com/ethereum/web3.py/blob/c8c1ed0c9e77e1a8b74902e6a6825e0b00534b10/web3/utils/ccip_url_validation.py#L16-L57"},{"type":"EVIDENCE","url":"https://github.com/ApeWorX/web3.py/security/advisories/GHSA-5hr4-253g-cpx2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apeworx/web3.py","events":[{"introduced":"cf051a72dcdb9e43c93d82d077a667982f63beea"},{"fixed":"efbc6ebc513ca4063f068094e0b9091477d8dde2"},{"introduced":"0"},{"fixed":"c8c1ed0c9e77e1a8b74902e6a6825e0b00534b10"}],"database_specific":{"source":"DESCRIPTION","extracted_events":[{"introduced":"7.15.0"},{"fixed":"7.16.0"},{"introduced":"8.0.0b2"},{"fixed":"8.0.0"}]}}],"versions":["v8.0.0-beta.3","v7.15.0","v8.0.0-beta.2","v8.0.0-beta.1","v7.13.0","v7.12.1","v7.12.0","v7.11.1","v7.11.0","v7.10.0","v7.9.0","v7.8.0","v7.7.0","v7.6.1","v7.6.0","v7.5.0","v7.4.0","v7.3.1","v7.3.0","v7.2.0","v7.1.0","v7.0.0","v7.0.0-beta.9","v7.0.0-beta.8","v7.0.0-beta.7","v7.0.0-beta.6","v7.0.0-beta.5","v7.0.0-beta.4","v7.0.0-beta.3","v7.0.0-beta.2","v7.0.0-beta.1","v6.14.0","v6.13.0","v6.12.0","v6.11.4","v6.11.3","v6.11.2","v6.11.1","v6.11.0","v6.10.0","v6.9.0","v6.8.0","v6.7.0","v6.6.1","v6.6.0","v6.5.0","v6.4.0","v6.3.0","v6.2.0","v6.1.0","v6.0.0","v6.0.0-beta.11","v6.0.0-beta.10","v6.0.0-beta.8","v6.0.0-beta.7","v6.0.0-beta.5","v6.0.0-beta.4","v6.0.0-beta.3","v6.0.0-beta.2","v6.0.0-beta.1","v5.28.0","v5.27.0","v5.26.0","v5.25.0","v5.24.0","v5.23.1","v5.23.0","v5.22.0","v5.21.0","v5.20.1","v5.20.0","v5.19.0","v5.17.0","v5.16.0","v5.15.0","v5.14.0","v5.13.1","v5.13.0","v5.12.3","v5.12.2","v5.12.1","v5.12.0","v5.12.0-beta.3","v5.12.0-beta.2","v5.12.0-beta.1","v5.11.1","v5.11.0","v5.10.0","v5.9.0","v5.8.0","v5.5.1","v5.7.0","v5.6.0","v5.5.0","v5.4.0","v5.3.1","v5.3.0","v5.2.2","v5.2.1","v5.2.0","v5.1.0","v5.0.2","v5.0.1","v5.0.0","v5.0.0-beta.5","v5.0.0-beta.4","v5.0.0-beta.3","v5.0.0-beta.2","v5.0.0-beta.1","v5.0.0-alpha.10","v5.0.0-alpha.9","v5.0.0-alpha.8","v5.0.0-alpha.7","v5.0.0-alpha.6","v5.0.0-alpha.5","v5.0.0-alpha.4","v5.0.0-alpha.3","v5.0.0-alpha.2","v5.0.0-alpha.1","v4.7.1","v4.7.0","v4.6.0","v4.5.0","v4.4.1","v4.4.0","v4.3.0","v4.2.1","v4.2.0","v4.1.0","v4.0.0","v4.0.0-beta.13","v4.0.0-beta.12","v4.0.0-beta.11","v4.0.0-beta.10","v4.0.0-beta.9","v4.0.0-beta.7","v4.0.0-beta.6","v4.0.0-beta.5","v4.0.0-beta.4","v4.0.0-beta.3","v4.0.0-beta.2","v4.0.0-beta.1","v3.16.1","v3.16.0","v3.15.0","v3.14.2","v3.14.0","v3.14.1","v3.13.5","v3.13.4","v3.13.3","v3.13.2","v3.13.1","v3.13.0","v3.11.1","v3.11.0","v3.10.0","v3.9.0","v3.8.1","v3.8.0","v3.7.2","v3.7.1","v3.7.0","v3.6.2","v3.6.1","v3.6.0","v3.5.3","v3.5.2","v3.5.1","v3.5.0","v3.4.4","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.3.0","v3.2.0","v3.1.1","v3.1.0","v3.0.2","v3.0.1","v3.0.0","v2.9.0","v2.8.1","v2.8.0","v2.1.0","v2.7.1","v2.7.0","v2.6.0","v2.5.0","v2.4.0","v2.3.0","v2.2.0","v2.1.1","v2.0.0","v1.9.0","v1.8.0","v1.7.1","v1.7.0","v1.6.0","v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.0.1","v1.0.0","0.1.9","0.1.8","0.1.7","0.0.5","0.1.3","0.0.2","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111171.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}]}