Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.1

CVE-2026-133250: @fastify/middie lets unauthenticated users bypass protected routes

CVE-2026-133250 · published today
Summary

Versions of @fastify/middie up to 9.3.7 may skip security checks when the request path is interpreted differently than Fastify’s router. This can let callers reach endpoints that should be blocked by authentication, authorization, or rate‑limiting code. Upgrade to version 9.3.8 or later to stop the bypass.

What to do
  • Update @fastify/middie @fastify/middie to version 9.3.8 or later.
Affected software
VendorProductAffected versions
@fastify/middie @fastify/middie < 9.3.8
Original advisory text
@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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.1 Critical
Type
CWE-288Authentication Bypass Using Alternate Path
CWE-436Interpretation Conflict
Timeline
Published21 Nov 2026
Updated21 Nov 2026
First seen21 Nov 2026
Sources
CVE-2026-133250 · MITRE
Track software like this
Free during beta