CVE-2026-59951: MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
modelcontextprotocol · python-sdk
Affected: modelcontextprotocol python-sdk · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 40% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- modelcontextprotocol · python-sdk>= 1.8.0, < 1.30.0; >= 2.0.0, < 2.2.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- modelcontextprotocol
- Published
- October 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-59951 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-400cwe.mitre.org
- github.com/modelcontextprotocol/python-sdk/security/advisories/Ggithub.com
- github.com/modelcontextprotocol/python-sdk/pull/3395github.com
- github.com/modelcontextprotocol/python-sdk/pull/3426github.com
- github.com/modelcontextprotocol/python-sdk/commit/92120b4b0f5038github.com
- github.com/modelcontextprotocol/python-sdk/commit/d2290ca3434731github.com
- github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0github.com
- github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0github.com