Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-2880

@fastify/middie has an improper path normalization vulnerability

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

@fastify/middie @fastify/middie

Default version status: unaffected

  • 0.0.0 to < 9.2.0affected
pkg:npm/@fastify/middie

References