目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-120216— Fastify 流响应 handlerTimeout 拒绝服务漏洞

一分钟漏洞结论

影响对象
fastify fastify
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Fastify 是一个用于 Node.js 的 Web 框架。在 5.8.0 至 5.12.7 版本中,当服务器配置了非零的 且某个路由返回流式响应时,若请求的流已发送响应头但仍保持打开状态并超过设定的超时时间,将导致服务器崩溃。当超时时,Fastify 会尝试在已启动的响应上发送新的错误响应,从而触发未捕获的 错误,最终终止 Node.js 进程并中断所有正在处理中的请求。未认证的远程攻击者只需向受影响的流式端点发送单个请求即可触发此漏洞。该漏洞的影响范围仅限于可用性(拒绝服务),且利用该漏洞需要配置非默认的 值

CVSS 5.9 · Medium
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-120216 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
fastify vulnerable to Denial of Service via uncaught exception on handlerTimeout with streaming responses
来源: CVE Program / CVE List V5
Vulnerability Description
fastify is a web framework for Node.js. In versions 5.8.0 through 5.12.7, when the server is configured with a nonzero handlerTimeout and a route returns a streaming response, a request whose stream has already sent its headers but stays open past the timeout crashes the server. When the timeout fires, Fastify tries to send a new error response on a response that has already started, raising an uncaught ERR_HTTP_HEADERS_SENT that terminates the Node.js process and interrupts any other in-flight requests. An unauthenticated remote client can trigger this with a single request to an affected streaming endpoint, so the impact is availability only, and exploitation requires the non-default handlerTimeout to be set. The default handlerTimeout of 0 is not affected. The issue is fixed in fastify 5.12.8, and users should upgrade to 5.12.8 or later. As a workaround, set handlerTimeout to 0, which disables the affected timeout path.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
未捕获的异常
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
fastify fastify 5.8.0 ~ 5.12.8 -

二、漏洞 CVE-2026-120216 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-120216 的情报信息

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

CVE-2026-120216 其他参考 (1)

IV. Related Vulnerabilities