GHSA-345p-7cg4-v4c7: @modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
- Identifiers
- CVE-2026-25536GHSA-345p-7cg4-v4c7
- Published
- Record updated
- Affected
- @modelcontextprotocol/sdk >= 1.10.0, <= 1.25.3
- Fixed in
- 1.26.0
- released February 4, 2026, on the day of disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
The advisory GHSA-345p-7cg4-v4c7 covers cross-client data leakage in @modelcontextprotocol/sdk, caused by reusing one StreamableHTTPServerTransport across multiple client requests, or one McpServer/Server instance across multiple transports. JSON-RPC message ID collisions, from clients whose default counter starts at 0, can route responses and notifications to the wrong client's HTTP stream. Stateless deployments without sessionIdGenerator are most exposed, and the two issues may affect a deployment separately or together.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- @modelcontextprotocol/sdknpmLLM dependency since 2024-11-11 · 19 tracked dependents
Related items
- HighGHSA-qx49-fqc8-xw99: Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverSame vendor · GitHub Advisory Database
- HighCVE-2026-88968: Claude Code Edit tool symlink race overwrites files outside workspace on macOSSame vendor · NVD/CVE Database
- HighCVE-2026-88066: Claude Desktop on Windows git.exe execution via search pathSame vendor · NVD/CVE Database
- HighCVE-2026-62331: praktor path traversal via Telegram document upload filenamesSame vendor · NVD/CVE Database
- MediumGHSA-w4fh-qvv9-3v23: Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource serverSame vendor · GitHub Advisory Database