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

- Severity: High 8.2 (CVSS:4.0, scored by openjs) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-02)
- Published: 2026-02-27T18:25:37.428Z
- Modified: 2026-06-17T10:31:56.523Z
- Also known as: GHSA-8p85-9qpw-fwgw
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- @fastify/middie @fastify/middie: from 0.0.0 before 9.2.0
- @fastify/middie (npm): before 9.2.0
- fastify fastify/middie: before 9.2.0

## Every score

- openjs: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## 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)

## Sources

- CVE List: [CVE-2026-2880](https://www.cve.org/CVERecord?id=CVE-2026-2880), CVE Terms of Use, modified 2026-02-27
- GitHub Advisory Database: [GHSA-8p85-9qpw-fwgw](https://github.com/advisories/GHSA-8p85-9qpw-fwgw), CC-BY-4.0, modified 2026-02-28
- NVD: [CVE-2026-2880](https://nvd.nist.gov/vuln/detail/CVE-2026-2880), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-2880 · Whole record: https://cve.day/CVE-2026-2880.json · Rebuilt by cve.day 2026-11-25T22:59:15.036Z
