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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-112362— @fastify/express 绝对路径中间件绕过漏洞

一分钟漏洞结论

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

是一个 Fastify 插件,用于在 Fastify 中运行 Express 中间件。在版本 4.0.5 至 4.0.8 中,当 Fastify 启用了非默认的 选项时,该插件会将路径作用域的 Express 中间件与一个 URL 进行匹配,而该 URL 的重复斜杠归一化过程已同时合并了绝对形式请求目标中方案(scheme)之后的分隔符。这导致 Fastify 的路由器将请求解析为作用域路径并执行处理器,但 Express 层却不再看到该路径。因此,使用绝对形式目标的请求可以绕过身份验证、授权或速率限制等中间件,直

CVSS 9.1 · Critical EPSS 0.36% · P30

影响版本矩阵 2

厂商产品 版本范围状态
@fastify/express @fastify/express 4.0.5< 4.0.9 affected
4.0.9 unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
@fastify/express vulnerable to path-scoped middleware bypass via absolute-form request targets
来源: CVE Program / CVE List V5
Vulnerability Description
@fastify/express is a Fastify plugin that runs Express middleware inside Fastify. In versions 4.0.5 through 4.0.8, when Fastify runs with the non-default ignoreDuplicateSlashes option enabled, the plugin matches path-scoped Express middleware against a URL whose duplicate-slash normalization has also collapsed the separator after an absolute-form request target's scheme, so Fastify's router resolves the request to the scoped path and runs the handler while the Express layer no longer sees that path. As a result, a request using an absolute-form target can reach a handler on a scoped route such as an admin path while the middleware for authentication, authorization, or rate limiting is skipped. An unauthenticated attacker needs only the non-default ignoreDuplicateSlashes option to be enabled. The issue is fixed in @fastify/express 4.0.9, and users should upgrade to 4.0.9 or later. As a workaround, enforce authentication in a Fastify hook such as preHandler that runs after the router resolves the request, or leave ignoreDuplicateSlashes at its default.
来源: 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/express @fastify/express 4.0.5 ~ 4.0.9 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

IV. Related Vulnerabilities