A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /modelcontextprotocol/python-sdk/commit/92120b4b0f50385af09…
- github.com /modelcontextprotocol/python-sdk/commit/d2290ca3434731b68ea…
- github.com /modelcontextprotocol/python-sdk/pull/3395
- github.com /modelcontextprotocol/python-sdk/pull/3426
- github.com /modelcontextprotocol/python-sdk/releases/tag/v1.30.0
- github.com /modelcontextprotocol/python-sdk/releases/tag/v2.2.0
- github.com /modelcontextprotocol/python-sdk/security/advisories/GHSA-8…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning