# CVE-2026-2880: @fastify/middie has an improper path normalization vulnerability

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-02-27 · Modified: 2026-02-27
- Aliases: GHSA-8p85-9qpw-fwgw
- Record: https://cvemate.com/vulnerability/CVE-2026-2880 · JSON: https://cvemate.com/vulnerability/CVE-2026-2880/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.423%, percentile 38.598%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- fastify fastify\\/middie: \< 9.2.0
- @fastify/middie @fastify/middie: ≥ 0.0.0, \< 9.2.0
- @fastify middie (Npm): \< 9.2.0

## References

- <https://github.com/fastify/middie/security/advisories/GHSA-8p85-9qpw-fwgw>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-2880>
- <https://github.com/fastify/middie/commit/140e0dd0359d890fec7e6ea1dcc5134d6bd554d4>
- <https://fluidattacks.com/advisories/jimenez>
- <https://fluidattacks.com/advisories/policy>
- <https://github.com/fastify/middie>
- <https://github.com/fastify/middie/releases/tag/v9.2.0>

---

Data as of 2026-12-05T09:38:49.823Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
