Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-39313— MCP-Framework: Unbounded memory allocation in readRequestBody allows denial of service via HTTP transport

Quick assessment

Affected
QuantGeekDev mcp-framework
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MCP Framework是Alex Andru个人开发者的一个构建模型上下文协议服务器的TypeScript框架。 MCP Framework 0.2.21及之前版本存在安全漏洞,该漏洞源于HTTP传输中的readRequestBody函数将请求主体块连接成字符串时没有大小限制,可能导致远程未经验证的攻击者通过发送大型POST请求使服务器内存耗尽并导致拒绝服务。

AI Predicted 7.5 Difficulty: Easy EPSS 0.50% · P42

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-39313

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MCP-Framework: Unbounded memory allocation in readRequestBody allows denial of service via HTTP transport
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
不加限制或调节的资源分配
Source: CVE Program / CVE List V5
Vulnerability Title
MCP Framework 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
MCP Framework是Alex Andru个人开发者的一个构建模型上下文协议服务器的TypeScript框架。 MCP Framework 0.2.21及之前版本存在安全漏洞,该漏洞源于HTTP传输中的readRequestBody函数将请求主体块连接成字符串时没有大小限制,可能导致远程未经验证的攻击者通过发送大型POST请求使服务器内存耗尽并导致拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
QuantGeekDev mcp-framework < 0.2.22 -

II. Public POCs for CVE-2026-39313

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39313

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-39313 (1)

Vendor Advisories for CVE-2026-39313 (1)

IV. Related Vulnerabilities