CVE-2026-59951
published medium CVSS 4.0 · 6.9MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| modelcontextprotocol | — | python-sdk>= 1.8.0, < 1.30.0 · >= 2.0.0, < 2.2.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | headroomaarch64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:12484-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | headroomppc64le | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:12484-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | headrooms390x | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:12484-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | headroomx86_64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:12484-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | headroom-proxyaarch64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:12484-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | headroom-proxyppc64le | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:12484-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | headroom-proxys390x | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:12484-1 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | headroom-proxyx86_64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2026:12484-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mcpaarch64 | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mcpppc64le | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mcps390x | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mcpx86_64 | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mcp-develaarch64 | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mcp-develppc64le | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mcp-devels390x | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-mcp-develx86_64 | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mcpaarch64 | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mcpppc64le | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mcps390x | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mcpx86_64 | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mcp-develaarch64 | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mcp-develppc64le | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mcp-devels390x | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-mcp-develx86_64 | Advisory build | 1.30.0-1.1 | OPENSUSE-SU-2026:12475-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| modelcontextprotocol | python-sdk | >= 1.8.0, < 1.30.0 (affected)>= 2.0.0, < 2.2.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-772 CWE-772: Missing Release of Resource after Effective Lifetime
References
7- https://github.com/modelcontextprotocol/python-sdk/commit/92120b4b0f50385af096592d7cee932fc1d994e7
- https://github.com/modelcontextprotocol/python-sdk/commit/d2290ca3434731b68ea3e2270bc06a6e6575931b
- https://github.com/modelcontextprotocol/python-sdk/pull/3395
- https://github.com/modelcontextprotocol/python-sdk/pull/3426
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-84m7-p3x7-pcfv
Provider assertions
2GitHub_M · cna
MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d22dc7fe4e8316bbfad1e5e6cfb8af24e91b16d748162ca41c41f7ce3ae5a8ee
- Ingested
- 15 Oct 2026, 15:48:17 UTC
- Source record
- Official CVE record