CVE-2026-22037 (CNNVD-202601-3042)
中文标题:
@fastify/express 安全漏洞
英文标题:
@fastify/express vulnerable to Improper Handling of URL Encoding (Hex Encoding)
漏洞描述
中文描述:
@fastify/express是Fastify开源的一个兼容性插件。 @fastify/express 4.0.3之前版本存在安全漏洞,该漏洞源于路径前缀匹配不当,可能导致中间件绕过。
英文描述:
The @fastify/express plugin adds full Express compatibility to Fastify. A security vulnerability exists in @fastify/express prior to version 4.0.3 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. The vulnerability is caused by how @fastify/express matches requests against registered middleware paths. This vulnerability is similar to, but differs from, CVE-2026-22031 because this is a different npm module with its own code. Version 4.0.3 of @fastify/express contains a patch fort the issue.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| fastify | fastify-express | < 4.0.3 | - | - |
cpe:2.3:a:fastify:fastify-express:<_4.0.3:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
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-22037 |
2026-01-20 02:19:58 | 2026-01-19 19:10:34 |
| NVD | nvd_CVE-2026-22037 |
2026-01-20 03:00:05 | 2026-01-19 19:10:38 |
| CNNVD | cnnvd_CNNVD-202601-3042 |
2026-01-26 02:10:03 | 2026-01-25 18:11:53 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202601-3042
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']