mcp is vulnerable to Denial of Service (DoS)
75
CVE Score
High
Denial of Service (DoS)
A Streamable HTTP server in the default stateful mode never frees session state. Sessions do not expire, a client DELETE leaves the session entry registered, and a session whose first request is refused stays registered with a running task. Each session keeps its parsed initialize payload and there is no cap on the number of sessions, so a client that can reach the endpoint can grow server memory without bound with ordinary short requests, and only a restart frees it. The fix adds an idle session timeout, caps the number of concurrent sessions, and discards a session as soon as it ends.
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 serve MCP over Streamable HTTP in the default stateful mode with clients you do not fully trust.
1.8.0 - 1.29.1
Fixed in 1.30.02.0.0 - 2.1.1
Fixed in 2.2.0mcp is vulnerable to Denial of Service (DoS) in versions 1.8.0 - 1.29.1 and 2.0.0 - 2.1.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.