CVE & CISA-KEV Catalog

CVE-2026-40072

HIGH
7.2
CVSS v3
NVD

Description

web3.py allows you to interact with the Ethereum blockchain using Python. From 6.0.0b3 to before 7.15.0 and 8.0.0b2, web3.py implements CCIP Read / OffchainLookup (EIP-3668) by performing HTTP requests to URLs supplied by smart contracts in offchain_lookup_payload["urls"]. The implementation uses these contract-supplied URLs directly (after {sender} / {data} template substitution) without any destination validation. CCIP Read is enabled by default (global_ccip_read_enabled = True on all providers), meaning any application using web3.py's .call() method is exposed without explicit opt-in. This results in Server-Side Request Forgery (SSRF) when web3.py is used in backend services, indexers, APIs, or any environment that performs eth_call / .call() against untrusted or user-supplied contract addresses. A malicious contract can force the web3.py process to issue HTTP requests to arbitrary destinations, including internal network services and cloud metadata endpoints. This vulnerability is fixed in 7.15.0 and 8.0.0b2.

How to fix

Remediation Available
web3.pyNVD
Affected:>= 6.1.0, < 7.15.0Fixed in:7.15.0CVE-2026-40072derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Exploit Intelligence

0.23%probability of exploitation in 30 days
14thpercentile

Low risk: more likely to be exploited than 14% of all known CVEs.

References

Exploit1

Related Vulnerabilities

Other CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-21893High8.2100%KEV + Ransom-
CVE-2021-40438Critical9.0100%KEVFix
CVE-2021-34473Critical9.1100%KEV + RansomFix
CVE-2021-26855Critical9.1100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2022-41040High8.8100%KEV + RansomFix
Embed a live status badge for CVE-2026-40072
CVE-2026-40072 severity badge

Markdown

[![CVE-2026-40072](https://tridentstack.com/cve/badge/CVE-2026-40072.svg)](https://tridentstack.com/cve/CVE-2026-40072)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-40072"><img src="https://tridentstack.com/cve/badge/CVE-2026-40072.svg" alt="CVE-2026-40072"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-02.