mcp is vulnerable to Denial of Service (DoS)
75
CVE Score
High
Denial of Service (DoS)
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.
Upgrade the mcp library to the patch version.
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.
0.0.1 - 1.29.0
Fixed in 1.29.12.0.0 - 2.0.1
Fixed in 2.1.0mcp is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 1.29.0 and 2.0.0 - 2.0.1.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.