Skip to content

CVE-2026-2880 @fastify/middie has an improper path normalization vulnerability

HighCVSS 8.2 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
@fastify/middie >= 0.0.0, < 9.2.0 9.2.0
fastify middie(npm) < 9.2.0 9.2.0
fastifymiddie < 9.2.0 9.2.0

References