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.
Scores
CVSS v3
9.1
EPSS
0.0008
EPSS Percentile
23.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-20
Status
published
Products (3)
@fastify/middie/@fastify/middie
0.0.0 - 9.2.0
fastify/middie
0 - 9.2.0npm
openjsf/\@fastify\/middie
< 9.2.0
Published
Feb 27, 2026
Tracked Since
Feb 28, 2026