Path-Secured Middleware Vulnerability in Fastify Middleware Engine by Fastify
CVE-2026-132131

7.4HIGH

Key Information:

Vendor
CVE Published:
19 November 2026

What is CVE-2026-132131?

The Fastify Middleware Engine, @fastify/middie, has a vulnerability affecting versions 8.3.0 through 9.3.6, where the normalization of path-scoped middleware's mount path does not process an array of mount paths correctly. This issue allows a trailing slash on the array element to persist, resulting in the potential for unauthorized access to protected routes by bypassing essential middleware functionalities such as authentication and authorization. To mitigate this risk, it is crucial for users to upgrade to version 9.3.7 or later and to enforce security checks within Fastify hooks.

Affected Version(s)

@fastify/middie 8.3.0 < 9.3.7

@fastify/middie 9.3.7

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

manus-pi
mcollina
UlisesGascon
manus-use
.