| Field | Value |
|---|---|
| GHSA ID | GHSA-f897-62hf-6gxq |
| CVE ID | No CVE assigned |
| Date (index) | 2026-10-27 |
| Affected product | @modelcontextprotocol/sdk: MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length |
| OWASP MCP Top 10 (2025) | MCP07 — Insufficient Authentication & Authorization |
| Published / disclosed | 2026-10-15 |
| Ecosystem | npm |
| Component | @modelcontextprotocol/sdk; @modelcontextprotocol/server; @modelcontextprotocol/node; @modelcontextprotocol/hono |
| CVSS score | 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CWE | CWE-770 |
| Affected versions | @modelcontextprotocol/sdk: >= 1.10.0, < 1.30.1; @modelcontextprotocol/server: >= 2.0.0, < 2.1.0; @modelcontextprotocol/node: >= 2.0.0, < 2.1.0; @modelcontextprotocol/hono: >= 2.0.0, < 2.0.1 |
| Fixed versions | @modelcontextprotocol/sdk: 1.30.1; @modelcontextprotocol/server: 2.1.0; @modelcontextprotocol/node: 2.1.0; @modelcontextprotocol/hono: 2.0.1 |
| Fix status | Patched |
| Notes | Updated on 2026-11-09 from the GitHub repository advisory. |
express.json() does not protect you, because it does not limit batch length. Servers that only use stdio are not affected. Affected versions: - @modelcontextprotocol/sdk 1.10.0 through 1.30.0 - @modelcontextprotocol/server 2.0.0 - @modelcontextprotocol/node 2.0.0 - @modelcontextprotocol/hono 2.0.0 ### Fix Upgrade to: - 1.x: @modelcontextprotocol/sdk 1.30.1 or later - 2.x: @modelcontextprotocol/server 2.1.0, @modelcontextprotocol/node 2.1.0 and @modelcontextprotocol/hono 2.0.1 or later. Upgrade every one you have installed. Bodies over 4 MiB now get 413, and batches over 100 messages get 400. If your clients send larger bodies, raise the new maxRequestBodySize option. If you cannot upgrade yet, cap request body size in a reverse proxy.Upgrade to the patched version listed above. Where the advisory says a setting is still required after the upgrade, apply that setting as well. Keep HTTP MCP listeners authenticated and off untrusted networks until the upgrade is in place.
@modelcontextprotocol/sdk with the affected range.