CVE-2026-111171 Details
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.
A server-side request forgery (SSRF) vulnerability has been identified in Web3.py versions 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0. The vulnerability arises because the function '_check_ip_blocked()' fails to properly handle IPv4-mapped IPv6 addresses during the validation of CCIP Read URLs. This oversight allows malicious contracts to exploit OffchainLookup URLs by directing requests to loopback, private, or link-local services on clients with CCIP Read enabled.
Users can update to Web3.py versions 7.15.0, 8.0.0b2 or later, where this vulnerability has been patched. For those using earlier versions, it's advisable to disable CCIP Read by setting 'ccip_read_enabled=False' or to manually validate and sanitize OffchainLookup URLs before use.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ApeWorX web3.py | >= 6.0.0b3, <= 7.16.0 >= 8.0.0b2, <= 8.0.0 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
Volerion