CVE-2026-59951CWE-400CWE-772denial-of-service

CVE-2026-59951

published October 14, 2026

CVSS
6.9
EPSS
0%
Percentile
38.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
6.9 · NONE
CVSS v4.0
6.9 · CVSS: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
0.00458 · 38.7th percentile
Weaknesses
CWE-400 · Uncontrolled Resource Consumption; CWE-772 · Missing Release of Resource after Effective Lifetime
Published
2026-10-14T21:18Z
References (7)
EPSS history
Timeline
  • 16 OCT 03:31Z
    EPSS moved — → 0%
    epss
  • 14 OCT 16:22Z
    MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
    cvelistv5
  • 14 OCT 16:22Z
    MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
    cvelistv5