Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-40072: web3.py allows you to interact with the Ethereum blockchain using Python

39
This week
HIGH 7.2REMOTEUPGRADE

CVE-2026-40072 is a high-severity flaw (CVSS 7.2) affecting web3.py. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 defaul

Why this priority

  • High severity
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score7.2 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.2% (top 86%)
CISA exploited listNo
WeaknessCWE-918
Published2026-04-09
Last modified2026-10-26
Publisher (CNA): GitHub, Inc. · Vendor: apeworx

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apeworx web3.py UPGRADE
Affected: >= 6.1.0 and < 7.15.0 · 6.0.0 · 6.0.0 beta10 · 6.0.0 beta11 · 6.0.0 beta3 · 6.0.0 beta4 · 6.0.0 beta5 · 6.0.0 beta6
Fixed in: 7.15.0
Safe to downgrade to: a release before 6.0.0
1. Check installed version
pip show web3.py
2. UPGRADE to 7.15.0
pip install --upgrade "web3.py>=7.15.0"
3. If no update is available yet, DOWNGRADE to a release before 6.0.0
pip index versions web3.py pip install "web3.py<6.0.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-40072?

web3.py: upgrade to 7.15.0. Exact commands for each OS are on this page.

Is CVE-2026-40072 being exploited?

CVE-2026-40072 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-40072 affect?

CVE-2026-40072 affects web3.py. Severity is high (CVSS 7.2). 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

How urgent is CVE-2026-40072?

Priority 39/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action

Software pages

Python vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.