@fastify/middie
@fastify/middie vulnerable to path-scoped middleware bypass via request path matching mismatches
@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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 9.3.8
Fixed in 9.3.8
Mitigation
Upgrade @fastify/middie to 9.3.8 or later.
References
- Vendor advisory github.com/fastify/middie/security/advisories/…
Timeline
Days relative to CVE publicationFirst public PoC 6.6 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-133250 (created 28 Nov 2026, found by us: 28 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-133250 | 28 Nov 2026 +6.6 d | 28 Nov 2026 | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.