CVE-2026-2880
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.
How to fix
- @fastify/middie9.2.0 or later
- fastify fastify\/middie9.2.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @fastify/middienpm | v < 9.2.0 | 9.2.0 |
| fastify fastify\/middie | v < 9.2.0 | 9.2.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.