Middleware Bypass Vulnerability in @fastify/middie by Fastify
CVE-2026-33804

7.4HIGH

Key Information:

Vendor
CVE Published:
16 April 2026

What is CVE-2026-33804?

The middleware bypass in @fastify/middie occurs when applications enable the deprecated ignoreDuplicateSlashes option. In this case, the middleware path matching logic fails to adequately address duplicate slash normalization in Fastify's router. This flaw allows requests with duplicate slashes to evade middleware authentication and authorization checks entirely, putting applications leveraging this configuration at risk. It is critical to upgrade to version 9.3.2 or later of @fastify/middie to resolve this issue. As a temporary measure, disabling the ignoreDuplicateSlashes option is necessary for immediate protection.

Affected Version(s)

@fastify/middie 0 < 9.3.2

@fastify/middie 9.3.2

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

FredKSchott
mcollina
climba03003
UlisesGascon
.