published 27 Feb 2026 · updated 27 Feb 2026
@fastify/middie has an improper path normalization vulnerability
8.2HighCVSS 8.2EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 9.2.0.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| @fastify/middie | >=0.0.0 <9.2.0 | 9.2.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket