CVE-2026-39313
mcp-framework
- Severity
- High
- Published
- April 16, 2026
- Last modified
- October 26, 2026
mcp-framework is a framework for building Model Context Protocol (MCP) servers. In versions 0.2.21 and below, the readRequestBody() function in the HTTP transport concatenates request body chunks into a string with no size limit. Although a maxMessageSize configuration value exists, it is never enforced in readRequestBody(). A remote unauthenticated attacker can crash any mcp-framework HTTP server by sending a single large POST request to /mcp, causing memory exhaustion and denial of service. This issue has been fixed in version 0.2.22.
CVSS vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
- CWE-770 Resource allocation without limits
References
Listed in
Related CVEs
MCPJungle 0.1.11 through 0.4.7 contains a missing authentication vulnerability in the POST /init endpoint that allows unauthenticated attackers to initialize uninitialized enterprise-mode servers.
markdownify-mcp before 2.0.0 contains an uncontrolled resource consumption vulnerability that allows attackers to exhaust server memory or hang requests by supplying URLs to slow or oversized responses.
PraisonAI pip praisonai before 4.8.0, praisonaiagents and npm praisonai before 1.8.0, and praisonai-bot, praisonai-browser, praisonai-code, praisonai-deploy, praisonai-mcp and praisonai-sandbox before 0.2.0…
n8n-mcp before 2.98.1 contains a prototype pollution vulnerability that allows MCP clients to modify Object.prototype by supplying reserved keys like __proto__ as node names, connection types, or parameter…
AgentCrew before 0.25.1 contains a server-side request forgery and local file read vulnerability that allows malicious MCP servers to fetch internal URLs and local files by supplying crafted $ref values in…
The AIDB MCP endpoint (edb-endpoints) in AIDB 7.7.0 through 7.8.0 authenticates HTTP Basic credentials by opening a Postgres connection with them, always from the database host over the local Unix socket as…
