HighVulnerability
CVE-2026-39313: mcp-framework HTTP transport crash via unlimited request body size on /mcp
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-39313
- Published
- Record updated
Summary
mcp-framework, a framework for building Model Context Protocol (MCP) servers, is affected by CVE-2026-39313 in versions 0.2.21 and below. The readRequestBody() function in the HTTP transport concatenates request body chunks with no size limit, and the maxMessageSize setting is never enforced there. A remote unauthenticated attacker can crash any mcp-framework HTTP server with one large POST to /mcp, causing memory exhaustion and denial of service.
Mitigation
Fixed in 0.2.22.
Topics
Related items
- MediumCVE-2026-143823: MLflow denial of service via regex backtracking in skill registration errorsSimilar attack, NVD/CVE Database
- MediumAutonomous AI attack targeted Perplexity to steal cloud credentialsSimilar attack, BleepingComputer
- HighCVE-2026-76813: CKAN MCP Server denial of service through unbounded response decompressionSimilar attack, NVD/CVE Database
- MediumCVE-2026-142225: Bytebase DBHub regular expression denial of service via search_objectsSimilar attack, NVD/CVE Database
- HighCVE-2026-59345: ExtractedTextFormatter denial of service when processing untrusted document textSimilar attack, NVD/CVE Database