7.2

CVE-2026-40072: apeworx web3.py Server-Side Request Forgery (SSRF)

CVSS: 7.2v3.1HighAnalyzed
AliasesGHSA-5hr4-253g-cpx2PYSEC-2026-3414
Published 09-04-2026Last modified 09-04-2026

Vulnerability summary

CVE-2026-40072 is a high (CVSS 7.2) Server-Side Request Forgery (SSRF) vulnerability in apeworx web3.py. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 22.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
39/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.2/10
010
High · v3.1 (NVD)
EPSS score
0.31%
0%100%
Low · +0.08 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 09-04-2026
    PublishedVulnerability first disclosed.
  2. 09-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 3 sources · 2 versions

EPSS trend

Probability

0.31%

Chance of exploitation in the next 30 days

Percentile

23%

Versus all other CVEs

30-day change

+0.08 pp

From 0.23% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.31%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Web3.Py

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Apeworx1 product
  • web3.py≥ 6.1.0, < 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 | 6.0.0:beta7 | 6.0.0:beta8 | 6.0.0:beta9 | 8.0.0:beta1
Ethereum1 product
  • web3.py≥ 6.0.0b3, < 7.15.0 | ≥ 8.0.0b1, < 8.0.0b2
PyPI1 product
  • web3≥ 6.0.0b3, < 7.15.0 | ≥ 8.0.0b1, < 8.0.0b2

3 vendors · 3 products

References

6 links