All vulnerabilities

npm

GHSA-f897-62hf-6gxq

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

Severity
High 7.5
Published
27 Oct 2026
Last changed
27 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.30.1, 2.0.1, 2.1.0
Weakness
Allocation without limits (CWE-770)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Sources
OSV.dev and GitHub

Description

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.

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
@modelcontextprotocol/hononpm · osv:npm:@modelcontextprotocol/hono
  • From 2.0.0 before 2.0.1
@modelcontextprotocol/nodenpm · osv:npm:@modelcontextprotocol/node
  • From 2.0.0 before 2.1.0
@modelcontextprotocol/sdknpm · osv:npm:@modelcontextprotocol/sdk
  • From 1.10.0 before 1.30.1
@modelcontextprotocol/servernpm · osv:npm:@modelcontextprotocol/server
  • From 2.0.0 before 2.1.0

About @modelcontextprotocol/hono

Weekly downloads (npm)
230,726npm, 24 Nov 2026

This is the only vulnerability in @modelcontextprotocol/hono in our list.

About @modelcontextprotocol/node

Weekly downloads (npm)
9,036,449npm, 24 Nov 2026

This is the only vulnerability in @modelcontextprotocol/node in our list.

About @modelcontextprotocol/sdk

Weekly downloads (npm)
93,196,652npm, 24 Nov 2026

References