CVE-2026-25536

7.1

Model Context Protocol · TypeScript SDK

A race condition in the MCP TypeScript SDK (1.10.0 to 1.25.3) causes cross-client response data leaks when server instances are reused across multiple connections.

Executive summary

The Model Context Protocol TypeScript SDK is vulnerable to a cross-client data leak that allows authenticated users to access information belonging to other client sessions.

Vulnerability

This vulnerability is a race condition (CWE-362) occurring when a single McpServer or transport instance is reused across multiple client connections. An attacker with low-level privileges can exploit this improper synchronization to intercept response data intended for other clients, particularly in stateless StreamableHTTPServerTransport deployments.

Business impact

The potential for unauthorized disclosure of sensitive cross-client data poses a significant risk to data confidentiality and regulatory compliance. Given the CVSS score of 7.1, this vulnerability is classified as High severity, as it allows for the leakage of potentially proprietary or sensitive information between independent system users.

Remediation

Immediate Action: Update the @modelcontextprotocol/sdk package to version 1.26.0 or later to resolve the underlying synchronization flaw.

Proactive Monitoring: Review server logs for unusual patterns in client connection handling or anomalous response data delivery that may indicate session state leakage.

Compensating Controls: If immediate patching is not feasible, restrict the reuse of McpServer and transport instances across different client connections, or deploy in a stateful manner that isolates client contexts.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

The risk of data leakage between clients necessitates prompt action, particularly for organizations deploying Model Context Protocol servers in multi-tenant or shared-instance environments. Security teams should prioritize updating the SDK to version 1.26.0 immediately to eliminate the possibility of unauthorized cross-client data exposure.

More Model Context Protocol CVEs

Sources