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.
{
"cna_assigner": "openjs",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2880.json",
"cwe_ids": [
"CWE-20"
]
}{
"cpe": "cpe:2.3:a:fastify:fastify\\/middie:*:*:*:*:*:node.js:*:*",
"extracted_events": [
{
"introduced": "0.0.0"
},
{
"fixed": "9.2.0"
},
{
"introduced": "0"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}