Denial of Service Vulnerability in mcp-framework by QuantGeekDev
CVE-2026-39313

8.7HIGH

Key Information:

Vendor
CVE Published:
16 April 2026

What is CVE-2026-39313?

The mcp-framework, designed for the Model Context Protocol (MCP), contains a vulnerability in its readRequestBody() function. In versions up to 0.2.21, this function is vulnerable to memory exhaustion due to its handling of request body chunks without a size limit. While a maximum message size can be configured, it is not enforced, allowing an unauthenticated remote attacker to send an oversized POST request to the /mcp endpoint. This can lead to the server crashing due to denial of service. The issue has been resolved in version 0.2.22.

Affected Version(s)

mcp-framework < 0.2.22

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.