Path Manipulation Vulnerability in Fastify Plugin by Fastify
CVE-2026-124626

9.1CRITICAL

Key Information:

Vendor
CVE Published:
21 November 2026

What is CVE-2026-124626?

The @fastify/express plugin, which enables Express middleware to operate within the Fastify web framework, has a vulnerability affecting versions 4.0.5 through 4.0.9. This issue arises from the plugin's approach to matching path-scoped Express middleware to dynamic segments. In particular, it requires a non-empty value for these segments, while Fastify allows for empty parameters or wildcards. This discrepancy can result in unauthenticated requests bypassing appropriate middleware checks, allowing potential access to protected routes. The issue is addressed in version 4.0.10 and users are urged to upgrade to this version or later for improved security.

Affected Version(s)

@fastify/express 4.0.5 < 4.0.10

@fastify/express 4.0.10

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

kleju13
mcollina
UlisesGascon
.