CVE-2026-22037
Last modified
CVE-2026-22037 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. 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`). EPSS estimates a 0.32% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-22037?
How severe is CVE-2026-22037?
How do I fix CVE-2026-22037?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-22031@fastify/middie is the plugin that adds middleware support o…8.8
- CVE-2026-22032Directus is a real-time API and App dashboard for managing S…6.1
- CVE-2026-22033Label Studio is a multi-type data labeling and annotation to…5.4
- CVE-2026-22034Snuffleupagus is a module that raises the cost of attacks ag…9.8
- CVE-2026-22035Greenshot is an open source Windows screenshot utility. Vers…7.3
- CVE-2026-22036Undici is an HTTP/1.1 client for Node.js. Prior to 7.18.0 an…7.5
- CVE-2026-22038AutoGPT is a platform that allows users to create, deploy, a…8.1
- CVE-2026-22039Kyverno is a policy engine designed for cloud native platfor…9.9
- CVE-2026-22040NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging …5.3
- CVE-2026-22041Logging Redactor is a Python library designed to redact sens…5.3
- CVE-2026-22042RustFS is a distributed object storage system built in Rust.…8.8
- CVE-2026-22043RustFS is a distributed object storage system built in Rust.…9.8
Are you affected by CVE-2026-22037?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
