Middleware Engine Vulnerability in Fastify Affects Authentication Processes
CVE-2026-112712

9.1CRITICAL

Key Information:

Vendor
CVE Published:
20 October 2026

What is CVE-2026-112712?

The @fastify/middie middleware has a path-scoping issue affecting versions 9.0.0 to 9.3.5, where the mount path for middleware may not align with the Fastify router's path. This discrepancy can lead to situations where essential path-scoped middleware—like those handling authentication and rate limiting—can be bypassed without triggering any alerts, allowing unauthorized requests to be processed. It is crucial for users to upgrade to version 9.3.6 or later to mitigate this vulnerability, or alternatively, apply stricter authorization checks in Fastify hooks.

Affected Version(s)

@fastify/middie 9.0.0 < 9.3.6

@fastify/middie 9.3.6

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

zachariah-mithani
mcollina
UlisesGascon
.