CVE-2026-22031 (CNNVD-202601-3049)
中文标题:
@fastify/middie 安全漏洞
英文标题:
Fastify Middie Middleware Path Bypass
漏洞描述
中文描述:
@fastify/middie是Fastify开源的一个中间件引擎。 @fastify/middie 9.1.0之前版本存在安全漏洞,该漏洞源于路径前缀匹配不当,可能导致中间件绕过。
英文描述:
@fastify/middie is the plugin that adds middleware support on steroids to Fastify. A security vulnerability exists in @fastify/middie prior to version 9.1.0 where middleware registered with a specific path prefix can be bypassed using URL-encoded characters (e.g., `/%61dmin` instead of `/admin`). While the middleware engine fails to match the encoded path and skips execution, the underlying Fastify router correctly decodes the path and matches the route handler, allowing attackers to access protected endpoints without the middleware constraints. Version 9.1.0 fixes the issue.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| fastify | middie | < 9.1.0 | - | - |
cpe:2.3:a:fastify:middie:<_9.1.0:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
CVSS评分详情
3.1 (cna)
HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2026-22031 |
2026-01-20 02:19:58 | 2026-01-19 19:10:34 |
| NVD | nvd_CVE-2026-22031 |
2026-01-20 03:00:05 | 2026-01-19 19:10:38 |
| CNNVD | cnnvd_CNNVD-202601-3049 |
2026-01-26 02:10:02 | 2026-01-25 18:11:53 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202601-3049
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']