CVE-2026-59951

Medium

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.

SeverityMedium
CVSS6.9
Exploit probability—
ProductMcp
PublishedOct 14, 2026
First seenOct 14, 2026

How to fix

Update
  • mcp1.30.0, 2.2.0 or later

Affected products

ProductAffected versionsFixed in
mcpPyPI1.8.0 ≤ v < 1.30.0, 2.0.0 ≤ v < 2.2.01.30.0, 2.2.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-59951 · Mcp · Dark Radar