CVE-2026-2880@fastify/middie has an improper path normalization vulnerability
Description
A vulnerability in @fastify/middie versions < 9.2.0 can result in authentication/authorization bypass when using path-scoped middleware (for example, app.use('/secret', auth)). When Fastify router normalization options are enabled (such as ignoreDuplicateSlashes, useSemicolonDelimiter, and related trailing-slash behavior), crafted request paths may bypass middleware checks while still being routed to protected handlers.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| fastify | fastify/middie | < 9.2.0 | |
| @fastify/middie | @fastify/middie | 0.0.0 – < 9.2.0 |
References and patches
- https://github.com/fastify/middie/security/advisories/GHSA-8p85-9qpw-fwgw MitigationVendor Advisory
CPE matches (NVD) (1)
cpe:2.3:a:fastify:fastify\/middie:*:*:*:*:*:node.js:*:*< 9.2.0