CVE-2026-2880
Received Received - Intake
Authorization Bypass in @fastify/middie via Path-Scoped Middleware

Publication date: 2026-02-27

Last updated on: 2026-03-19

Assigner: openjs

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-27
Last Modified
2026-03-19
Generated
2026-06-16
AI Q&A
2026-02-27
EPSS Evaluated
2026-06-14
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
openjsf @fastify/middie to 9.2.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in @fastify/middie versions prior to 9.2.0 and allows an attacker to bypass authentication and authorization checks when using path-scoped middleware.

Specifically, when Fastify router normalization options like ignoreDuplicateSlashes, useSemicolonDelimiter, or trailing-slash behavior are enabled, crafted request paths can circumvent middleware protections while still reaching protected handlers.

Impact Analysis

This vulnerability can lead to unauthorized access to protected routes or resources within an application using the affected @fastify/middie versions.

Attackers can exploit crafted request paths to bypass authentication and authorization middleware, potentially exposing sensitive data or functionality that should be restricted.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-2880. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart