MCP-Framework: Unbounded memory allocation in readRequestBody allows denial of service via HTTP transport
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| QuantGeekDev | mcp-framework | before 0.2.22 | 0.2.22 | Patch available | CNA |
| — | mcp-framework (npm) | before 0.2.22 | 0.2.22 | Patch available | GHSA-353c-v8x9-v7c3 |
- mcp-framework VendorQuantGeekDev Affected before 0.2.22 Fixed in 0.2.22 Patch available CNA
- mcp-framework (npm) Vendor— Affected before 0.2.22 Fixed in 0.2.22 Patch available GHSA-353c-v8x9-v7c3
Remediation
- Fix · CNA mcp-framework (QuantGeekDev) Fixed in 0.2.22
- Fix · GHSA-353c-v8x9-v7c3 mcp-framework (npm) Fixed in 0.2.22 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39313
- 2026-10-03 Alias added: GHSA-353c-v8x9-v7c3
References
More QuantGeekDev vulnerabilities
- TI-2026-80235 OS command injection in QuantGeekDev docker-mcp via project_name CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-39313 · CVE Program
- CVE-2026-39313 · NVD
- FIRST EPSS
- GHSA-353c-v8x9-v7c3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences