VDB

CVE-2026-59951

CVE-2026-59951 PUBLISHED CVSS 6.9 MEDIUM

Reported by github_m · Published October 14, 2026

mcp is fixed in 2.2.0 and 1.30.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
mcpPyPI2.2.0, 1.30.0

Risk scores

CVSS 4.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

Affected products

VendorProductVersions
modelcontextprotocolpython-sdk>= 1.8.0, < 1.30.0, >= 2.0.0, < 2.2.0
PyPImcp1.8.0, 2.0.0
modelcontextprotocolpython-sdk2.0.0, 1.8.0
wolfisemgrep0
chainguardopen-webui0
chainguardnemo-gym0
wolfiopen-webui0
chainguardsemgrep0
modelcontextprotocolpython-sdk
chainguardnemo-rl-cuda-13.00

Timeline

  • Oct 14, 2026 Coalition ESS Score
  • Oct 14, 2026 CVE Published
  • Oct 15, 2026 EPSS Score (6 in total, the first dated here)
  • Oct 15, 2026 CVE Updated
  • Oct 30, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-59951
vulnetix vdb fixes CVE-2026-59951

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-59951/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›