# CVE-2026-133250: @fastify/middie vulnerable to path-scoped middleware bypass via request path matching mismatches

- Severity: Critical 9.1 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A: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.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2026-11-21T16:46:44.649Z
- Modified: 2026-11-23T21:16:56.893Z
- Weaknesses: CWE-288, CWE-436
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: openjs

## Description

@fastify/middie is the middleware engine for the Fastify web framework. In versions up to and including 9.3.7, middie matches path-scoped middleware against its own reading of the request path, which can differ from the path Fastify's router uses to dispatch the request. When the two disagree, the router can route a request to a handler covered by a middleware mount while middie skips that middleware, so an unauthenticated client reaches a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, with no special configuration required. The mismatch is triggered by empty parameter or wildcard values, request targets that do not begin with a slash, and literal percent characters in a mount path. The issue is fixed in @fastify/middie 9.3.8, and users should upgrade to 9.3.8 or later.

(As written by CVE List.)

## Affected

- @fastify/middie @fastify/middie: before 9.3.8 (not affected: 9.3.8)

## References

- <https://github.com/fastify/middie/security/advisories/GHSA-gcf6-j9m3-p97x>
- <https://cna.openjsf.org/security-advisories.html>

## Sources

- CVE List: [CVE-2026-133250](https://www.cve.org/CVERecord?id=CVE-2026-133250), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-133250](https://nvd.nist.gov/vuln/detail/CVE-2026-133250), Public domain, modified 2026-11-23

---

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