CVE-2026-2880

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
Product@fastify/middie
PublishedFeb 27, 2026
First seenFeb 27, 2026

How to fix

Update
  • @fastify/middie9.2.0 or later
  • fastify fastify\/middie9.2.0 or later

Affected products

ProductAffected versionsFixed in
@fastify/middienpmv < 9.2.09.2.0
fastify fastify\/middiev < 9.2.09.2.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-2880 · @fastify/middie · Dark Radar