Unbounded session retention in the Streamable HTTP transport allows an initialize flood DoS
GHSA-2hm9-qff2-hrpj · published 2026-10-20
- Severity
- High
- CVSS score
- Not scored
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 2.1.0
Unauthenticated denial of service through memory exhaustion (CWE-770). An attacker sends initialize requests repeatedly, each of which retains a session object, and never sends DELETE, so the sessions map grows without bound until the process runs out of memory and stops serving all clients. A single client can do this, and no credential is required because the default security validator is a no-op. A suggested fix is to bound session retention rather than leaving it to the deployer. An idle timeout that expires sessions with no recent activity, together with a cap on the number of concurrent sessions and a background task that removes expired entries, closes the issue. …
Upgrade io.modelcontextprotocol.sdk:mcp-core to 2.1.0 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| io.modelcontextprotocol.sdk:mcp-core | Maven | >= 1.0.0, < 1.1.5 | 1.1.5 |
| io.modelcontextprotocol.sdk:mcp-core | Maven | >= 2.0.0, < 2.1.0 | 2.1.0 |
For io.modelcontextprotocol.sdk:mcp-core the advisory also lists ">= 0.11.0, 0 < 0.18.5". ShieldMap could not read that range, so 0.x versions are not matched against this advisory.
For io.modelcontextprotocol.sdk:mcp-core the advisory also lists ">= 0.11.0, 0 < 0.18.5". ShieldMap could not read that range, so 0.x versions are not matched against this advisory.
- HightsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS@tsparticles/mcp-server
- HighMissing request-wide media budget allows single-request frontend resource exhaustionvllm
- HighMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length@modelcontextprotocol/hono, @modelcontextprotocol/node, @modelcontextprotocol/sdk, @modelcontextprotocol/server
- HighvLLM : DoS via unvalidated mm_processor_kwargs in multimodal image processors (Isaac, InternVL, H2OVL, etc.)vllm
- HighUnauthenticated unbounded tool_schemas cache growth in rmcp Streamable HTTP server transport leads to remote denial-of-servicermcp
- HighMCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation@modelcontextprotocol/sdk, @modelcontextprotocol/server
- HighDefault stateless Servlet transport accepts browser cross-origin tool callsio.modelcontextprotocol.sdk:mcp-core
- HighUnbounded request-body reads in mcp-core HTTP server transports allow remote denial of service (CWE-770)io.modelcontextprotocol.sdk:mcp-core
- HighJava-SDK has a DNS Rebinding Vulnerabilityio.modelcontextprotocol.sdk:mcp-core
- MediumServer/client session dispatch returns raw handler exception messages (and the full cause chain) to the peer → information disclosureio.modelcontextprotocol.sdk:mcp-core
- MediumUnbounded reads when parsing Server-Sent Events in HTTP client transportsio.modelcontextprotocol.sdk:mcp-core
- MediumMCP Java SDK has a Hardcoded Wildcard CORS (Access-Control-Allow-Origin: *)io.modelcontextprotocol.sdk:mcp-core
The impact, patch and workaround text comes from the advisory, shortened (published by the MCP Java SDK project). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.