Path-Scoped Middleware Vulnerability in Fastify Middleware Engine
CVE-2026-133250

9.1CRITICAL

Key Information:

Vendor
CVE Published:
21 November 2026

What is CVE-2026-133250?

The @fastify/middie middleware engine for the Fastify web framework contains a vulnerability where path-scoped middleware may not be invoked correctly. This occurs in versions up to and including 9.3.7 due to discrepancies in path interpretation between middie and Fastify's router. Consequently, an unauthenticated client could gain access to handlers that are protected by authentication, authorization, or rate-limiting middleware, exposing the application to potential exploitation. This issue arises from various scenarios including empty parameter values, non-standard request targets, or literal percent characters in the mount path. It is critical for users of affected versions to upgrade to 9.3.8 or later to mitigate this security risk.

Affected Version(s)

@fastify/middie 0 < 9.3.8

@fastify/middie 9.3.8

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

mcollina
UlisesGascon
.