CVE-2026-2880
HIGH 8.2CVSS 4.0@fastify/middie has Improper Path Normalization when Using Path-Scoped Middleware
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.
- Published
- 27 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- ce714d77-add3-4f53-aff5-83d477b104bb
- NVD status
- Analyzed
- Weakness
- CWE-20
- Also known as
- GHSA-8p85-9qpw-fwgw
- Sources
- NVDJSONOSV GHSA-8p85-9qpw-fwgwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) | CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fastify | fastify/middiecpe:2.3:a:fastify:fastify\/middie:*:*:*:*:*:node.js:*:* |
< 9.2.0 | 9.2.0 |
| OSV | npm | @fastify/middie | < 9.2.0 | 9.2.0 |
References
- https://github.com/fastify/middie/security/advisories/GHSA-8p85-9qpw-fwgw · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-2880 · ADVISORY
- https://github.com/fastify/middie/commit/140e0dd0359d890fec7e6ea1dcc5134d6bd554d4 · WEB
- https://fluidattacks.com/advisories/jimenez · WEB
- https://fluidattacks.com/advisories/policy · WEB
- https://github.com/fastify/middie · PACKAGE
- https://github.com/fastify/middie/releases/tag/v9.2.0 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 27 Feb 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 28 Feb 2026)