PT-2026-22377 · Fastify · @Fastify/Middie
Cristian Vargas
+1
·
Published
2026-02-27
·
Updated
2026-02-28
·
CVE-2026-2880
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
@fastify/middie versions prior to 9.2.0
Description
A flaw exists in @fastify/middie that can lead to authentication or authorization bypass when path-scoped middleware is used, such as with
app.use('/secret', auth). This occurs when Fastify router normalization options are enabled, including options like ignoreDuplicateSlashes, useSemicolonDelimiter, and trailing-slash behavior. Specifically, specially crafted request paths may circumvent middleware checks while still reaching protected handlers.Recommendations
Update @fastify/middie to version 9.2.0 or later.
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Fastify/Middie