CVE-2026-111171
MEDIUM 6.3CVSS 4.0web3.py: SSRF via CCIP Read (EIP-3668) OffchainLookup URL handling
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.
- Published
- 15 Oct 2026
- Last modified
- 16 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-918
- Also known as
- CVE-2026-40072GHSA-5hr4-253g-cpx2PYSEC-2026-3414
- Sources
- NVDJSONOSV GHSA-5hr4-253g-cpx2JSONOSV PYSEC-2026-3414JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | web3 | >= 6.0.0b3, < 7.15.0 | 7.15.0 |
| OSV | PyPI | web3 | >= 8.0.0b1, < 8.0.0b2 | 8.0.0b2 |
| OSV | PyPI | web3 | >= 6.0.0b3, < 7.15.0; >= 8.0.0b1, < 8.0.0b2 | 7.15.0, 8.0.0b2 |
References
- https://github.com/ethereum/web3.py · PACKAGE
- https://github.com/ethereum/web3.py/blob/c8c1ed0c9e77e1a8b74902e6a6825e0b00534b10/web3/utils/ccip_url_validation.py#L16-L57
- https://github.com/ethereum/web3.py/pull/3875
- https://github.com/ethereum/web3.py/security/advisories/GHSA-5hr4-253g-cpx2 · WEB
- 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
- https://github.com/ApeWorX/web3.py/security/advisories/GHSA-5hr4-253g-cpx2
- https://nvd.nist.gov/vuln/detail/CVE-2026-40072 · ADVISORY
- https://github.com/ethereum/web3.py/commit/b1c57bb0a124359c9902daaefab4d8af7c3c4c1e · WEB
- https://pypi.org/project/web3 · PACKAGE
- https://github.com/advisories/GHSA-5hr4-253g-cpx2 · ADVISORY
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Apr 2026)