UTC
High

Unbounded request-body reads in mcp-core HTTP server transports allow remote denial of service (CWE-770)

CVE-2026-108395 · GHSA-4x8c-5vv7-973f · published 2026-08-19 · updated 2026-10-14

Severity
High
CVSS score
7.5
Chance of exploitation (EPSS)
Not scored
Fixed in
2.0.1
  • Exploitation No known exploitation
  • Automatable Yes
  • Technical impact Partial
  • CISA SSVC
What it is

Any deployment of Streamable HTTP, Stateless, or SSE server transports reachable by untrusted clients was affected, including MCP servers built on these transports without an upstream proxy enforcing a request-body size limit. A single request was sufficient to exhaust available heap and cause OutOfMemoryError, starving the server or even crashing the process.

What to do

Upgrade io.modelcontextprotocol.sdk:mcp-core to 2.0.1 or later.

If you cannot upgrade yet

Upgrade to version 2.0.1, 1.1.4, or 0.18.4 (matching your release line), which enforce a maximum request body size across all three HTTP server transports and reject oversized requests before the body is fully buffered. Deployments that cannot upgrade immediately should ensure a reverse proxy or gateway in front of the server enforces a request body size limit.

Affected
PackageRegistryAffectedFixed in
io.modelcontextprotocol.sdk:mcp-coreMaven2.0.02.0.1
io.modelcontextprotocol.sdk:mcp-coreMaven>= 0.18.0, < 0.18.40.18.4
io.modelcontextprotocol.sdk:mcp-coreMaven>= 1.0.0, < 1.1.41.1.4

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.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by the MCP reference servers project (https://github.com/modelcontextprotocol/servers/security/advisories); advisories published by the MCP Inspector project (https://github.com/modelcontextprotocol/inspector/security/advisories); advisories published by the MCP TypeScript SDK project (https://github.com/modelcontextprotocol/typescript-sdk/security/advisories); advisories published by the MCP Go SDK project (https://github.com/modelcontextprotocol/go-sdk/security/advisories); advisories published by the MCP Java SDK project (https://github.com/modelcontextprotocol/java-sdk/security/advisories); advisories published by the MCP Kotlin SDK project (https://github.com/modelcontextprotocol/kotlin-sdk/security/advisories); advisories published by the MCP Rust SDK project (https://github.com/modelcontextprotocol/rust-sdk/security/advisories); advisories published by the MCP Ruby SDK project (https://github.com/modelcontextprotocol/ruby-sdk/security/advisories); advisories published by the MCP C# SDK project (https://github.com/modelcontextprotocol/csharp-sdk/security/advisories); advisories published by the MCP PHP SDK project (https://github.com/modelcontextprotocol/php-sdk/security/advisories); advisories published by the MCP Registry project (https://github.com/modelcontextprotocol/registry/security/advisories); advisories published by Open Terminal (https://github.com/open-webui/open-terminal/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-12-06. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].