Allocation of Resources Without Limits or Throttling Affecting @modelcontextprotocol/server package, versions >=2.0.0 <2.3.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MODELCONTEXTPROTOCOLSERVER-21460686
  • published23 Oct 2026
  • disclosed20 Oct 2026
  • creditroot-Brainoverflow, Felix Weinberger

Introduced: 20 Oct 2026

NewCVE-2026-111768  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade @modelcontextprotocol/server to version 2.3.0 or higher.

Overview

@modelcontextprotocol/server is a Model Context Protocol implementation for TypeScript - Server package

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the tools/call request handler in mcp.ts, where an attacker can send a tools/call request with a deeply nested or arbitrarily large arguments payload, causing unbounded recursive traversal of the input structure and exhausting server resources. The server performs no limit on the number of array elements or object members processed from tool-call arguments, allowing a remote attacker to crash the server process through resource exhaustion.

CVSS Base Scores

version 4.0
version 3.1