mcp-cve-project

CVE-2026-108395 | Model Context Protocol Java SDK HTTP server transports allow memory exhaustion through unbounded request bodie | High |

CVE Information

Field Value
CVE / NVD CVE-2026-108395
Date (index) 2026-10-14
Affected product (index) Model Context Protocol Java SDK HTTP server transports allow memory exhaustion through unbounded request bodie
GHSA ID GHSA-4x8c-5vv7-973f
OWASP MCP Top 10 (2025) MCP07 — Insufficient Authentication & Authorization
Published / disclosed 2026-10-14
Ecosystem Source repository
Component modelcontextprotocol/io.modelcontextprotocol.sdk:mcp; modelcontextprotocol/io.modelcontextprotocol.sdk:mcp-core
EPSS score 0.006080000 (FIRST EPSS, 2026-11-09)
CVSS score 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE CWE-770
Affected versions modelcontextprotocol/io.modelcontextprotocol.sdk:mcp: >= 0.8.0, < 0.13.0; modelcontextprotocol/io.modelcontextprotocol.sdk:mcp-core: >= 0.13.0, < 0.18.4; >= 1.0.0, < 1.1.4; >= 2.0.0-M1, < 2.0.1
Fixed versions modelcontextprotocol/io.modelcontextprotocol.sdk:mcp: none named; modelcontextprotocol/io.modelcontextprotocol.sdk:mcp-core: none named
Fix status No fixed version in the published CVE record
Exploit status Public advisory. This note does not include exploit steps.
Notes Updated on 2026-11-09 from the published CVE record and FIRST EPSS.

CVE Breakdown


What is the vulnerability?

The Model Context Protocol Java SDK is the official Java SDK for Model Context Protocol servers and clients. From version 0.8.0 through 0.12.0 in the io.modelcontextprotocol.sdk:mcp artifact, from 0.13.0 through 0.18.3 and 1.0.0 through 1.1.3 in io.modelcontextprotocol.sdk:mcp-core, and from mcp-core 2.0.0-M1 through 2.0.0, the Servlet-based SSE, Streamable HTTP, and Stateless server transports read an HTTP request body into memory without enforcing a maximum size. An unauthenticated remote client able to reach an affected transport can stream an arbitrarily large POST body, including with chunked transfer encoding, until the Java process exhausts its heap and becomes unavailable. Authentication, Origin or Host validation, or an upstream request-size limit can reject the request before the vulnerable read. The maintained mcp-core lines are fixed in versions 0.18.4, 1.1.4, and 2.0.1.

Attack prerequisites / exposure

Depends on deployment. Typical MCP cases are a reachable HTTP or SSE listener, a malicious remote MCP server, a poisoned project configuration, or a person opening attacker-influenced content. Developer workstations and shared runners are high-value when the server runs with host access.

CVE is because of what bug?

The published weakness mapping is CWE-770. Use the linked advisory for the upstream root cause.

MCP-specific impact / why it matters

MCP connects a model to tools, files, and credentials on a host or network. A flaw in transport checks, path checks, command handling, or token binding can become code execution, credential exposure, or access to another user’s session.

Where was the bug? (source + snippet)

File and function names belong in the linked upstream advisory and patch. This index does not repeat exploit inputs.

Fix / Remediation

Apply the vendor’s patched release or commit. Until then, keep the affected MCP listener off untrusted networks and require authentication on HTTP transports.

Upstream fix (open source)

Workarounds / mitigations

Detection / verification