CVE-2026-22037

HIGH EPSS 23.9%
Published Jan 19, 20265mo ago · Modified Jun 17, 20262w ago
8.4 CVSS 3.1
High
Find Similar
Published Jan 19, 2026 5mo ago
Last Modified Jun 17, 2026 2w ago

Description

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.

CVSS Details

Base Score
8.4
Exploitability
1.8
Impact
6.0
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
Attack Vector Network
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Changed
Confidentiality High
Integrity High
Availability Low

Threat Intelligence

EPSS Exploit Probability
23.9% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 2

CWE-177
CWE-288

References 2

  • github.com https://github.com/fastify/fastify-express/commit/dc02a3fe1387f945143f22597baa42557d549a40
  • github.com https://github.com/fastify/fastify-express/security/advisories/GHSA-g6q3-96cp-5r5m

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.