MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
影響: npm:@modelcontextprotocol/sdk >= 1.10.0, < 1.30.1 → 1.30.1, npm:@modelcontextprotocol/server >= 2.0.0, < 2.1.0 → 2.1.0, npm:@modelcontextprotocol/node >= 2.0.0, < 2.1.0 → 2.1.0, npm:@modelcontextprotocol/hono >= 2.0.0, < 2.0.1 → 2.0.1
In affected versions, MCP servers reachable over HTTP put no limit on the size of a POST body or on the number of messages in a JSON-RPC batch. Large requests could exhaust the server's memory, and one long batch could block it from serving anyone else. No credentials were needed, unless your application authenticates requests before they reach the SDK. Am I affected? Yes, if clients you do not fully trust can reach your server over Streamable HTTP. A body parser such as express.json() does not…
| 情報源 | GitHub Advisory Database |
|---|---|
| 取得日時 | 2026/10/28 06:03 |
| データ | Markdown JSON |
2026/10/28 04:02、GitHub Advisory Databaseが「MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: JavaScript / Node.js。