GHSA-F897-62HF-6GXQ

High 7.5 P4 · Monitor (22/100)

MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length

Published: 27.10.2026 · Last updated: 22.11.2026 11:32 UTC · Revision 1 · Sources: GitHub Security Advisories

Confirmed facts from the sources

CVSS
7.5 (High) · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by github
Exploitation confirmed
Not in the CISA KEV catalog
Exploitation estimated (EPSS)
Not published by the sources
Public exploit
No reference to a public exploit.
Fix
Fix available
Monitored technologies
MCP servers and clients

Description (source)

### Summary 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 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.

Affected products and versions

Vendor / productAffected versionsFixed inSource
npm: @modelcontextprotocol/sdk>= 1.10.0, < 1.30.11.30.1github
npm: @modelcontextprotocol/server>= 2.0.0, < 2.1.02.1.0github
npm: @modelcontextprotocol/node>= 2.0.0, < 2.1.02.1.0github
npm: @modelcontextprotocol/hono>= 2.0.0, < 2.0.12.0.1github

Versions as published. “Fixed in” only where a source names the version explicitly.

Recommended mitigation

Fixed versions: @modelcontextprotocol/sdk 1.30.1, @modelcontextprotocol/server 2.1.0, @modelcontextprotocol/node 2.1.0, @modelcontextprotocol/hono 2.0.1

In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.

AI interpretation

No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.

Why this priority?: P4 · Monitor (22/100)

  • No EPSS score yet (+0)
  • Technical severity: CVSS 7.5 (HIGH) – on its own not a reason for top priority (+12)
  • Concerns 1 monitored technolog(y/ies) (CPE, package or vendor) (+10)
  • Fix available – plan the update (+0)

Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.

Original advisories and links