Cyber Posture

CVE-2026-2880

Critical

Published: 27 February 2026

Published
27 February 2026
Modified
19 March 2026
KEV Added
Patch
CVSS Score 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0008 23.3th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

Description

Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.

Security Summary

CVE-2026-2880 is a vulnerability in @fastify/middie versions prior to 9.2.0, a middleware plugin for the Fastify web framework. It enables authentication and authorization bypass specifically when path-scoped middleware is used, such as app.use('/secret', auth). The issue arises when Fastify router normalization options are enabled—including ignoreDuplicateSlashes, useSemicolonDelimiter, and related trailing-slash behaviors—allowing crafted request paths to evade middleware checks while still matching and executing protected route handlers. The vulnerability carries a CVSS v3.1 base score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) and maps to CWE-20 (Improper Input Validation). It was published on 2026-02-27.

Unauthenticated remote attackers can exploit this vulnerability over the network with low attack complexity and no user interaction required. By constructing HTTP requests with specially manipulated paths that leverage the normalization options, attackers bypass security middleware and reach handlers intended to be protected, achieving high-impact confidentiality and integrity violations such as unauthorized data access or modification without affecting availability.

The GitHub Security Advisory at https://github.com/fastify/middie/security/advisories/GHSA-8p85-9qpw-fwgw provides details on the vulnerability. Mitigation requires upgrading to @fastify/middie version 9.2.0 or later, which resolves the path bypass issue in conjunction with Fastify's router normalization features.

Details

CWE(s)
CWE-20

Affected Products

openjsf
\@fastify\/middie
≤ 9.2.0

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

Vulnerability enables unauthenticated remote exploitation of a public-facing web framework (Fastify middleware) via crafted paths to bypass authentication/authorization, directly facilitating T1190: Exploit Public-Facing Application.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References