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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-120213— fastify/http-proxy 路由参数前缀逃逸漏洞

一分钟漏洞结论

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

@fastify/http-proxy 是一个 Fastify 插件,用于将 HTTP 请求代理到配置前缀下的上游服务器。在 9.0.0 至 11.6.5 版本中,当应用程序使用参数化的 prefix 和 rewritePrefix 选项将客户端固定到某个上游路径时,该插件会将 URL 解码后的路由参数直接代入 rewritePrefix,而不会对其进行重新编码。因此,若某个参数值中编码了路径分隔符以及片段(fragment)或查询(query)分隔符,解码后这些字符会变为真实的路径分隔符和分隔符,从而注入额外的上

CVSS 9.1 · Critical
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
@fastify/http-proxy vulnerable to prefix escape via decoded route parameters
来源: CVE Program / CVE List V5
Vulnerability Description
@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 9.0.0 through 11.6.5, when an application uses parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path, the plugin substitutes URL-decoded route parameters into rewritePrefix without re-encoding them. A parameter value that encodes a path separator together with a fragment or query delimiter therefore decodes into real separators and delimiters that inject extra upstream path segments and strip the mandatory suffix the rewritePrefix was meant to enforce, without using any dot-dot traversal. An unauthenticated remote attacker can use this to reach upstream locations outside the intended prefix, leading to path-restriction bypass and, depending on the upstream, server-side request forgery or authorization bypass in the proxied service. The issue is fixed in @fastify/http-proxy 11.6.6, and users should upgrade to 11.6.6 or later. There is no workaround other than upgrading.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
@fastify/http-proxy @fastify/http-proxy 9.0.0 ~ 11.6.6 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-120213 厂商安全公告 (1)

IV. Related Vulnerabilities