CVE-2026-59951: modelcontextprotocol python-sdk Uncontrolled Resource Consumption
Vulnerability summary
CVE-2026-59951 is a medium (CVSS 6.9) Uncontrolled Resource Consumption vulnerability in modelcontextprotocol python-sdk. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.3% of scored vulnerabilities.
Timeline
- 14-10-2026PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
The MCP Python SDK, called mcp on PyPI, is a Python implementation of the Model Context Protocol (MCP). From 1.8.0 until 1.30.0 and 2.2.0, stateful Streamable HTTP servers, including FastMCP, MCPServer, Server.streamable_http_app(), and StreamableHTTPSessionManager, retain session entries without an idle expiration or aggregate session-count limit. DELETE, refused opening requests, and completed sessions do not reliably discard their entries, and each entry can retain parsed initialize parameters. A client that can reach the endpoint can therefore create ordinary short requests that grow server memory without bound until restart. Stateless HTTP, stdio, and SSE transports are not affected. This issue is fixed in versions 1.30.0 and 2.2.0.
CVSS metrics
6 scores · 5 sources · 2 versions- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · PypiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-772Missing Release of Resource after Effective LifetimeThe product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.
Affected systems
Chainguard5 products
- nemo-gymAll versions (No fix recorded)
- nemo-rl-cuda-13.0-gymAll versions (No fix recorded)
- nemo-rl-cuda-13.0-vllmAll versions (No fix recorded)
- open-webuiAll versions (No fix recorded) | < 0.12.3-r1
- semgrepAll versions (No fix recorded) | < 1.181.0-r4
Wolfi2 products
- open-webuiAll versions (No fix recorded) | < 0.12.3-r1
- semgrepAll versions (No fix recorded) | < 1.181.0-r4
Modelcontextprotocol1 product
- python-sdk≥ 1.8.0, < 1.30.0 | ≥ 2.0.0, < 2.2.0
PyPI1 product
- mcp≥ 1.8.0, < 1.30.0 | ≥ 2.0.0, < 2.2.0
4 vendors · 9 products
References
10 links- github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-84m7-p3x7-pcfvX Refsource CONFIRMWEBAdvisory