Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-111171 CVE-2026-40072EUVD-2026-102298GHSA-w8h5-xcmp-474f

Web3.py 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0 CCIP-Read SSRF Bypass

Published Oct 15, 2026 · Updated Oct 15, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
ethereum web3.py 7.15.0 – ≤ 7.16.0, 8.0.0b2 – ≤ 8.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI web3 >= 6.0.0b3, < 7.15.0 7.15.0 GHSA-5hr4-253g-cpx2
PyPI web3 >= 8.0.0b1, < 8.0.0b2 8.0.0b2 GHSA-5hr4-253g-cpx2
PyPI web3 >= 6.0.0b3, < 7.15.0 · >= 8.0.0b1, < 8.0.0b2 7.15.0, 8.0.0b2 PYSEC-2026-3414

References