CVE-2026-2880

@fastify/middie has an improper path normalization vulnerability

State
Published
Severity
8.2 High
Published
Feb 27, 2026
Updated
Feb 27, 2026
Reserved
Feb 20, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
4.08.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:Nopenjs

Weaknesses

Affected Products

ProductVersions
@fastify/middie@fastify/middie
  • 0.0.0 to before 9.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.