EventsSecuring Finance in the Age of AI · Secure.com X ZIG Finance · London, 12 NovRegister now

CVE-2026-133250@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.

9.1 CRITICALNot in KEVNVD: Received

Overview

Severity

ScoreSeverityVersionTechnologies Affected
9.1CRITICAL3.1openjs (CNA)@Fastify/Middie

Details

CVE ID
CVE-2026-133250
Status
Received
Assigner (CNA)
openjs
Published
Nov 21, 2026
Last modified
2026-11-21 17:16 UTC
Weaknesses
  • CWE-288 · Authentication Bypass Using an Alternate Path or Channel
  • CWE-436 · Interpretation Conflict

Affected Products

As published by the CNA in the CVE record.

@fastify/middie@fastify/middie1 version range
  • before 9.3.8

References