Browse / MCP and Tool Server Flaws / Denial of service
Denial of service
13 records in MCP and Tool Server Flaws.
- MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length MCP HTTP servers accept unbounded POST bodies and JSON-RPC batches, so oversized requests exhaust memory and block other clients.
- MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation The MCP TypeScript SDK validates unlimited array elements and object keys, so one HTTP request within the size limit exhausts server memory.
- MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion Streamable HTTP sessions are never expired or capped, so a client opening many short sessions grows server memory without limit.
- RMCP: Unauthenticated permanent session-table leak in rmcp Streamable HTTP server transport leads to remote denial-of-service Unauthenticated non-initialise POSTs allocate sessions that are never released, so remote requests steadily exhaust server memory.
- PraisonAI MCP HTTP server has unauthenticated unbounded session accumulation (memory exhaustion; session TTL never enforced)
- MCP Ruby SDK: Unbounded session retention in StreamableHTTPTransport allows memory exhaustion via initialize flood Every initialize request creates a session kept in memory indefinitely unless the client deletes it, so repeated unauthenticated initializes exhaust server memory.
- MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS) The MCP stdio transports read lines without a length limit, so a peer that sends bytes without a newline makes memory grow until the process is killed.
- MCP Ruby SDK: Unbounded JSON-RPC request body causes uncontrolled memory allocation in StreamableHTTPTransport
- n8n Vulnerable to Unauthenticated Denial of Service via MCP Client Registration The MCP OAuth client registration endpoint accepts unauthenticated large payloads and stores them without limits, exhausting server memory even when MCP is disabled.
- PraisonAI Has ReDoS via Unvalidated User-Controlled Regex in MCPToolIndex.search_tools() Tool search compiles a caller-supplied string as a regex with no limits, so nested quantifiers backtrack catastrophically and block the thread.
- Anthropic's MCP TypeScript SDK has a ReDoS vulnerability Crafted URIs matched against exploded resource template patterns trigger catastrophic regex backtracking in the MCP SDK URI template matcher, hanging the server.
- MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS A validation error on malformed requests in the MCP Python SDK is unhandled, so the FastMCP server returns errors until it is restarted.
- MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service