CVE-2026-22037 (CNNVD-202601-3042)

HIGH
中文标题:
@fastify/express 安全漏洞
英文标题:
@fastify/express vulnerable to Improper Handling of URL Encoding (Hex Encoding)
CVSS分数: 8.4
发布时间: 2026-01-19 16:48:10
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

@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类型:
CWE-177 CWE-288
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
fastify fastify-express < 4.0.3 - - cpe:2.3:a:fastify:fastify-express:<_4.0.3:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/fastify/fastify-express/security/advisories/GHSA-g6q3-96cp-5r5m x_refsource_CONFIRM
cve.org
访问
https://github.com/fastify/fastify-express/commit/dc02a3fe1387f945143f22597baa42557d549a40 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
8.4
CVSS向量: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
机密性
HIGH
完整性
HIGH
可用性
LOW
时间信息
发布时间:
2026-01-19 16:48:10
修改时间:
2026-01-19 16:48:10
创建时间:
2026-01-20 03:10:34
更新时间:
2026-01-27 06:00:17
利用信息
暂无可利用代码信息
数据源详情
数据源 记录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
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2026-01-26 02:11:53
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202601-3042; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202601-3042
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2026-01-20 03:10:38
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']