MCP TypeScript server SDKの脆弱性で別のクライアントへ応答が漏れる
Summary
2026年10月に公表された、MCP TypeScript server SDKの脆弱性です。共有されたトランスポートやサーバーのインスタンスを使うと、HTTP接続した別のクライアントに応答や通知が届くおそれがあります。影響するのは@modelcontextprotocol/serverの2.0.0から2.2.0で、修正版の2.3.0以降へ更新してください。更新後はコードの変更も必要です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
2026年10月に公表された、MCP TypeScript server SDKの脆弱性です。共有されたトランスポートやサーバーのインスタンスを使うと、HTTP接続した別のクライアントに応答や通知が届くおそれがあります。影響するのは@modelcontextprotocol/serverの2.0.0から2.2.0で、修正版の2.3.0以降へ更新してください。更新後はコードの変更も必要です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npm@modelcontextprotocol/server |
≥ 2.0.0, < 2.3.0→ 2.3.0 |
2.3.0 |
| modelcontextprotocoltypescript-sdk | — | Not listed |
| @modelcontextprotocolserver | — | Not listed |
Original description The description as published by the source.
The Model Context Protocol TypeScript SDK provides TypeScript client and server implementations of the Model Context Protocol. From 2.0.0 until 2.3.0 in @modelcontextprotocol/server, applications that shared one stateless HTTP transport or one McpServer or Server instance among multiple clients could deliver responses and notifications to the wrong client. The affected surface is an MCP server reached over HTTP by multiple clients. The trigger is reuse of one stateless transport or server instance. Messages were associated with a connection using only the JSON-RPC request identifier. SDK clients start request identifiers at zero, so collisions occur in normal operation. Cross-client delivery exposes one client's responses and notifications to another client. The issue requires an HTTP endpoint reachable by more than one client and an application that constructs the server or transport once at startup instead of once per request or session. stdio servers and factory-created per-call servers are not affected. Upgrading causes reused instances to fail and therefore requires an application code change. This issue is fixed in @modelcontextprotocol/server 2.3.0.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com
- web github.com