# CVE-2026-111171: Web3.py 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0 CCIP-Read SSRF Bypass

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 21% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-04T06:38:11.000Z
- Modified: 2026-10-16T18:25:45.343Z
- Also known as: GHSA-5hr4-253g-cpx2, PYSEC-2026-3414
- Related: CVE-2026-40072
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- ethereum web3.py: from 7.15.0 up to 7.16.0; from 8.0.0b2 up to 8.0.0
- web3 (PyPI): from 6.0.0b3 before 7.15.0; from 8.0.0b1 before 8.0.0b2

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.2 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: 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`

## References

- <https://github.com/ApeWorX/web3.py/security/advisories/GHSA-5hr4-253g-cpx2> (exploit)
- <https://github.com/ethereum/web3.py/pull/3875> (issue-tracking, patch, technical-description)
- <https://github.com/ethereum/web3.py/blob/c8c1ed0c9e77e1a8b74902e6a6825e0b00534b10/web3/utils/ccip_url_validation.py#L16-L57> (technical-description)
- <https://github.com/ethereum/web3.py/security/advisories/GHSA-5hr4-253g-cpx2> (related, vendor-advisory, web)
- <https://github.com/ethereum/web3.py> (package, product)
- <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> (third-party-advisory)
- <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)

## Sources

- CVE List: [CVE-2026-111171](https://www.cve.org/CVERecord?id=CVE-2026-111171), CVE Terms of Use, modified 2026-10-15
- GitHub Advisory Database: [GHSA-5hr4-253g-cpx2](https://github.com/advisories/GHSA-5hr4-253g-cpx2), CC-BY-4.0, modified 2026-10-16
- NVD: [CVE-2026-111171](https://nvd.nist.gov/vuln/detail/CVE-2026-111171), Public domain, modified 2026-10-16
- PyPA Advisory Database: [PYSEC-2026-3414](https://osv.dev/vulnerability/PYSEC-2026-3414), CC-BY-4.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-111171 · Whole record: https://cve.day/CVE-2026-111171.json · Rebuilt by cve.day 2026-11-25T22:59:44.942Z
