PatchSiren

modelcontextprotocol CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH modelcontextprotocol CVE published 2026-11-19

CVE-2026-115563

The Model Context Protocol Python SDK has a vulnerability where the OAuth client could send credentials to an authorization server chosen by the MCP server. This issue affects versions 1.9.1 until 1.30.0 and 2.2.0. ClientCredentialsOAuthProvider and PrivateKeyJWTOAuthProvider cannot identify the authorization server that owns their credentials. Affected HTTP clients using those providers, OAuthClientProvider, or the deprecated 1.x RFC7523OAuthClientProvider can disclose a client_secret, authorization code, PKCE code_verifier, or signed client assertion.

MEDIUM modelcontextprotocol CVE published 2026-10-27

CVE-2026-116684

The Model Context Protocol Python SDK has a vulnerability in its server-side bearer authentication, allowing tokens issued for different resource servers to be accepted. This issue affects versions 1.10.0 through 1.29.1 and 2.0.0 through 2.1.1 of the `mcp` package. To fix this, upgrade to version 1.30.0 or later for 1.x, or version 2.2.0 or later for 2.x, and configure the `validate_token_resource` setting.

MEDIUM modelcontextprotocol CVE published 2026-10-27

CVE-2026-116685

The Model Context Protocol Python SDK's HTTP client transports followed cross-origin redirects carrying custom headers and bodies. This behavior could lead to unintended exposure of sensitive information if an attacker can influence the redirect logic of a trusted endpoint. The vulnerability affects users of streamable_http_client, streamablehttp_client, sse_client, and ClientSessionGroup with HTTP server parameters. Defenders and developers should assess exposure and apply patches to prevent potential information exposure.

HIGH modelcontextprotocol CVE published 2026-10-14

CVE-2026-109527

CVE-2026-109527 debrief: The Model Context Protocol Python SDK is vulnerable to memory exhaustion through unbounded request bodies in versions before 1.29.1 and from 2.0.0a1 through 2.1.0. This vulnerability allows an unauthenticated remote client to send large declared or streamed request bodies, potentially exhausting memory or terminating the server. Defenders should assess exposure, particularly in deployments using Streamable HTTP session manager, SSE message endpoint, and OAuth authorization-server routes, and apply patches to prevent potential memory exhaustion attacks.

HIGH modelcontextprotocol CVE published 2026-10-14

CVE-2026-108395

CVE-2026-108395 is a vulnerability in the Model Context Protocol Java SDK that allows for memory exhaustion through unbounded request bodies in certain HTTP server transports. This issue affects versions 0.8.0 through 0.12.0 of the io.modelcontextprotocol.sdk:mcp artifact, and versions 0.13.0 through 0.18.3 and 1.0.0 through 1.1.3 in io.modelcontextprotocol.sdk:mcp-core, as well as mcp-core 2.0.0-M1 through 2.0.0. The vulnerability can be exploited by an unauthenticated remote client able to reach an affected transport, which can stream an arbitrarily large POST body until the Java process exhausts its heap and becomes unavailable.

MEDIUM modelcontextprotocol CVE published 2026-10-14

CVE-2026-59951

A vulnerability in the MCP Python SDK allows for unbounded session accumulation in StreamableHTTP transport, enabling resource exhaustion. Affected versions include 1.8.0 through 1.29.1 and 2.0.0 through 2.1.1. The issue arises when a Streamable HTTP server operates in stateful mode, which is the default setting. This mode does not reclaim session state, leading to unlimited session accumulation. Clients that can reach the endpoint can cause server memory growth without bound using short requests. The only recovery is a server restart.

HIGH modelcontextprotocol CVE published 2026-10-11

CVE-2026-108714

CVE-2026-108714 MCP Kotlin SDK through 0.15.0 Memory Exhaustion via Application.mcpWebSocket allows remote clients to exhaust server memory due to uncontrolled memory allocation, leading to denial of service. Defenders should assess exposure and prioritize verification and remediation, particularly for those using version 0.15.0 or earlier. The vulnerability is caused by the installation of Ktor WebSockets without a maxFrameSize limit, allowing attackers to send small frame headers declaring large payloads, forcing huge heap allocations.

MEDIUM modelcontextprotocol CVE published 2026-09-16

CVE-2026-64684

CVE-2026-64684 is a vulnerability in the Rust SDK for the Model Context Protocol (RMCP). The issue arises from the StreamableHttpClientTransport in the rmcp crate, which uses reqwest's automatic redirect policy and applies custom headers without marking them as sensitive. This can lead to the replay of custom API keys or authentication tokens to a new origin when a malicious or compromised MCP endpoint returns a cross-origin 307 or 308 redirect.

MEDIUM modelcontextprotocol CVE published 2026-09-09

CVE-2026-53937

CVE-2026-53937 is a remote-pre-auth denial of service vulnerability in MCP Kotlin SDK versions 0.7.0 through 0.12.0. The issue arises from the `ReadBuffer.append` function in `ReadBuffer.kt`, which writes received bytes into a buffer without a size cap, leading to potential OOM-killing of the JVM or host process. This vulnerability is triggered when an untrusted or attacker-controlled producer feeds bytes to an SDK stdio server's stdin without sending a newline, causing the buffer to grow indefinitely.

MEDIUM modelcontextprotocol CVE published 2026-08-25

CVE-2026-53965

The MCP PHP SDK, used for the Model Context Protocol, has a vulnerability in versions 0.5.0 through 0.7.0 that allows a remote server to cause a denial of service by exhausting the client's memory. This issue arises from the HTTP client transport reading Server-Sent Events response streams without a proper buffer limit, leading to potential fatal allocation errors or OS out-of-memory kills. The vulnerability is fixed in version 0.7.1.

HIGH modelcontextprotocol CVE published 2026-07-15

CVE-2026-59950

The MCP Python SDK, called mcp on PyPI, has a vulnerability prior to version 1.28.1 in the deprecated mcp.server.websocket.websocket_server transport. This transport accepted WebSocket handshakes without applying Host or Origin header validation, potentially allowing unauthorized connections. The issue is fixed in version 1.28.1. Affected users, especially those who have exposed the deprecated transport, should update to version 1.28.1 or later to mitigate this vulnerability. The vulnerability has a high CVSS score of 7.6 and is classified as HIGH severity.

HIGH modelcontextprotocol CVE published 2026-07-15

CVE-2026-52870

The MCP Python SDK, called mcp on PyPI, has a high-severity vulnerability tracked as CVE-2026-52870. From version 1.23.0 until 1.27.2, default handlers installed by server.experimental.enable_tasks() for tasks/list, tasks/get, tasks/result, and tasks/cancel operate only on task identifiers without recording the session that created each task. This allows any connected client to enumerate, read results from, consume messages for, or cancel other clients' tasks. The issue is fixed in version 1.27.2.

HIGH modelcontextprotocol CVE published 2026-07-15

CVE-2026-52869

The MCP Python SDK, called mcp on PyPI, is vulnerable to session hijacking prior to version 1.27.2. The SSE and stateful Streamable HTTP transports route requests to existing sessions using only the session_id query parameter or Mcp-Session-Id header without verifying the authenticated principal that created the session. This allows a different bearer-token-authenticated client with a known session ID to inject JSON-RPC messages into that session. The vulnerability affects versions prior to 1.27.2 and is fixed in version 1.27.2.

HIGH modelcontextprotocol CVE published 2026-04-07

CVE-2026-35568

The CVE-2026-35568 vulnerability is a DNS rebinding issue in the MCP Java SDK prior to version 1.0.0. This vulnerability allows an attacker to access a locally or network-private MCP server via a victim's browser that is either local or network adjacent. Consequently, the attacker can make any tool calls to the server as if they were a locally running MCP connected AI agent. The vulnerability is fixed in version 1.0.0 of the MCP Java SDK.

HIGH modelcontextprotocol CVE published 2026-04-02

CVE-2026-34742

The Go MCP SDK used Go's standard encoding/json. Prior to version 1.4.0, the Model Context Protocol (MCP) Go SDK does not enable DNS rebinding protection by default for HTTP-based servers. When an HTTP-based MCP server is run on localhost without authentication with StreamableHTTPHandler or SSEHandler, a malicious website could exploit DNS rebinding to bypass same-origin policy restrictions and send requests to the local MCP server. This could allow an attacker to invoke tools or access resources exposed by the MCP server on behalf of the user in those limited circumstances. This issue has been patched in version 1.4.0.

HIGH modelcontextprotocol CVE published 2026-02-04

CVE-2026-25536

CVE-2026-25536 is a HIGH severity vulnerability in the MCP TypeScript SDK, affecting versions 1.10.0 to 1.25.3. The issue allows for cross-client response data leaks when a single McpServer/Server and transport instance is reused across multiple client connections. This is particularly problematic in stateless StreamableHTTPServerTransport deployments. The vulnerability has been patched in version 1.26.0. Users of the affected versions should update to 1.26.0 or later to mitigate this issue. The Common Vulnerability Scoring System (CVSS) score for this vulnerability is 7.1, indicating a high level of severity.