Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/ethereum/web3.py
- https://github.com/ethereum/web3.py/blob/c8c1ed0c9e77e1a8b74902e6a6825e0b00534b1
- https://github.com/ethereum/web3.py/pull/3875
- https://github.com/ethereum/web3.py/security/advisories/GHSA-5hr4-253g-cpx2
- https://www.vulncheck.com/advisories/web3-py-7.15.0-through-7.16.0-and-8.0-0b2-t
- https://github.com/ApeWorX/web3.py/security/advisories/GHSA-5hr4-253g-cpx2
FAQ
What is CVE-2026-111171?
CVE-2026-111171 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 val...
How severe is CVE-2026-111171?
CVE-2026-111171 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-111171?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.