Intel

AIKIDO-2026-705470

mcp is vulnerable to Denial of Service (DoS)

CVE-2026-109527Published Oct 7, 2026
October 7, 2026

75

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The SSE message endpoint and the OAuth authorization, token, registration, and revocation routes read the entire HTTP request body into memory before checking its size. A client that sends a very large request can grow process memory to two to three times the body size and exhaust it, taking the server offline. No credentials are required for the OAuth routes or for the SSE endpoint on a server that does not authenticate clients. The fix applies the existing request body size limit middleware to these endpoints and rejects oversized bodies with HTTP 413 before any parsing.

How do I fix this?

Upgrade the mcp library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run an MCP server over HTTP using the SSE transport or the OAuth authorization server routes without a reverse proxy that already caps request body size.

Package

Versions

0.0.1 - 1.29.0

Fixed in 1.29.1

2.0.0 - 2.0.1

Fixed in 2.1.0

Background info

mcp is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 1.29.0 and 2.0.0 - 2.0.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea