Multiple Path-Specific Middleware Vulnerability in Fastify Middleware Engine
CVE-2026-132133

4.8MEDIUM

Key Information:

Vendor
CVE Published:
19 November 2026

What is CVE-2026-132133?

The @fastify/middie middleware engine for Fastify fails to handle duplicate slashes in path-scoped middleware, allowing scenarios where critical checks like authentication and authorization may be bypassed. When applications enable the 'ignoreDuplicateSlashes' router option, the middleware can misinterpret paths with doubled slashes, preventing it from matching and executing necessary security measures. This issue particularly arises when mount paths and plugin prefixes inadvertently introduce duplicate slashes. Users should upgrade to @fastify/middie version 9.3.7 or later for a fix and consider implementing authorization enforcement in a Fastify hook to mitigate risks before handling requests.

Affected Version(s)

@fastify/middie 0 < 9.3.7

@fastify/middie 9.3.7

References

CVSS V3.1

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

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

superbot-helper
mcollina
UlisesGascon
.