CVE-2026-22037
HIGHDescription
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.
How to fix
No published remediation has been found for this vulnerability's affected products yet.
Mitigation guidance may be in the linked vendor advisories in the References section below.
TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
Exploit Intelligence
Low risk: more likely to be exploited than 24% of all known CVEs.
References
Related Vulnerabilities
Other CWE-177 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-27780 | High | 7.5 | 2.2% | - | Fix |
| CVE-2018-3718 | Medium | 5.3 | 1.3% | - | Fix |
| CVE-2026-41041 | Critical | 9.1 | 0.6% | - | Fix |
| CVE-2022-3854 | Medium | 6.5 | 0.6% | - | Fix |
| CVE-2026-22031 | High | 8.4 | 0.5% | - | Fix |
| CVE-2026-29045 | High | 7.5 | 0.4% | - | Fix |
Embed a live status badge for CVE-2026-22037
Markdown
[](https://tridentstack.com/cve/CVE-2026-22037)HTML
<a href="https://tridentstack.com/cve/CVE-2026-22037"><img src="https://tridentstack.com/cve/badge/CVE-2026-22037.svg" alt="CVE-2026-22037"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-01-26.