CVE-2026-111171
Web3.py 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0 contains a …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ethereum/web3.py
- github.com/ethereum/web3.py/blob/c8c1ed0c9e77e1a8b74902e6a6825e0b00534b10/web3/utils/ccip_
- github.com/ethereum/web3.py/pull/3875
- github.com/ethereum/web3.py/security/advisories/GHSA-5hr4-253g-cpx2
- www.vulncheck.com/advisories/web3-py-7.15.0-through-7.16.0-and-8.0-0b2-through-8.0.0-ccip-
- github.com/ApeWorX/web3.py/security/advisories/GHSA-5hr4-253g-cpx2
- nvd.nist.gov/vuln/detail/CVE-2026-111171
- cve.org/CVERecord?id=CVE-2026-111171
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.