mcp-framework (npm) | High | 8.7| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-39313 |
| EPSS score | 0.004950000 (FIRST EPSS, 2026-06-30) |
| Date (index) | 2026-04-16 |
| Affected product (index) | mcp-framework (npm) |
| GHSA ID | GHSA-353c-v8x9-v7c3 |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2026-04-16 |
| Ecosystem | npm |
| Component | mcp-framework |
| CVSS score | 8.7 HIGH CVSS v4.0 (NVD) |
| CWE | CWE-770 |
| Affected versions | <= 0.2.21 |
| Fixed versions | 0.2.22 |
| Fix status | Patched |
| Exploit status | No public PoC reported |
MCP-Framework: Unbounded memory allocation in readRequestBody allows denial of service via HTTP transport
The attacker needs network reachability to the vulnerable HTTP endpoint and the ability to send oversized or intentionally malformed requests.
Unbounded request body allocation
Single large POST to /mcp may crash HTTP server via memory exhaustion. Because the flaw sits in shared MCP plumbing, downstream servers and developer tooling can inherit the risk at scale.
Add a minimal vulnerable code snippet here after reviewing the linked source locations.
The patch enforces input and size limits before allocating memory or processing attacker-controlled request bodies.
0.2.22 or later as the primary remediation.No public PoC link is captured in the current source set.
<= 0.2.21.https://github.com/QuantGeekDev/mcp-framework/commit/f97d2bb76d6359faf10cd1fc54b4911476b62524