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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-85184— @fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target

Quick assessment

Affected
@fastify/middie @fastify/middie
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.

Fastify @fastify/middie是Fastify团队开源的一个为开发框架提供标准中间件兼容能力的插件。 Fastify @fastify/middie 9.1.0版本至9.3.4之前版本存在处理逻辑错误漏洞,该漏洞源于路径作用域中间件通过匹配原始请求目标决定是否运行,而Fastify路由器在分发前将绝对形式请求目标解析为路径,导致两层评估不同字符串,路径作用域中间件(如身份验证或授权)被跳过,可能导致未经身份验证的网络攻击者绕过基于路径的访问控制。

CVSS 9.1 · Critical EPSS 0.33% · P26

Possible ATT&CK Techniques 1 AI

T1598 · Phishing for Information

Affected Version Matrix 2

VendorProduct Version RangeStatus
@fastify/middie @fastify/middie 9.1.0< 9.3.4 affected
9.3.4 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85184

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
@fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target
Source: CVE Program / CVE List V5
Vulnerability Description
@fastify/middie versions >= 9.1.0 and before 9.3.4 decide whether to run path-scoped middleware by matching against the raw request target, while the Fastify router resolves an absolute-form request target to its path before dispatching. Because the two layers evaluate different strings, a request using an absolute-form target reaches the route handler while the path-scoped middleware, such as authentication or authorization, is skipped. An unauthenticated network attacker can use this to bypass path-based access controls in a Fastify application that relies on middie for those controls. Users should upgrade to @fastify/middie 9.3.4 or later.
Source: 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
Source: CVE Program / CVE List V5
Vulnerability Type
解释冲突
Source: CVE Program / CVE List V5
Vulnerability Title
Fastify @fastify/middie 处理逻辑错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Fastify @fastify/middie是Fastify团队开源的一个为开发框架提供标准中间件兼容能力的插件。 Fastify @fastify/middie 9.1.0版本至9.3.4之前版本存在处理逻辑错误漏洞,该漏洞源于路径作用域中间件通过匹配原始请求目标决定是否运行,而Fastify路由器在分发前将绝对形式请求目标解析为路径,导致两层评估不同字符串,路径作用域中间件(如身份验证或授权)被跳过,可能导致未经身份验证的网络攻击者绕过基于路径的访问控制。
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
@fastify/middie @fastify/middie 9.1.0 ~ 9.3.4 -

II. Public POCs for CVE-2026-85184

# 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-85184

登录查看更多情报信息。

Vendor Advisories for CVE-2026-85184 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-85184

No comments yet


Leave a comment