Middleware Bypass in Fastify Plugin from Fastify
CVE-2026-135205

7.4HIGH

Key Information:

Vendor
CVE Published:
26 November 2026

What is CVE-2026-135205?

The @fastify/middie plugin for the Fastify web framework allows for the incorporation of Express-style middleware. A specific issue arises in versions 9.3.6 through 9.3.9 when route or mount paths are defined without a leading slash. This inconsistency leads to scenarios where middleware designated for a route is not executed, allowing requests to bypass essential authentication and access controls. Users are recommended to update to version 9.3.10 or later to mitigate this issue. As a temporary measure, all route and mount paths should begin with a slash, or authentication should be enforced in a Fastify hook such as preHandler.

Affected Version(s)

@fastify/middie 9.3.6 < 9.3.10

@fastify/middie 9.3.10

References

CVSS V3.1

Score:
7.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

mcollina
UlisesGascon
.