Path Handling Flaw in Fastify Compatibility Layer for Express Middleware
CVE-2026-129504

9.1CRITICAL

Key Information:

Vendor
CVE Published:
21 November 2026

What is CVE-2026-129504?

A flaw in the @fastify/express plugin allows for improper handling of path-scoped Express middleware due to a concatenation issue. This vulnerability causes the resulting Express mount path to misalign with the route served by the Fastify router when certain conditions are met, leading to the potential exposure of protected routes. Consequently, unauthenticated clients may gain access to sensitive endpoints through existing configurations without any crafted requests or custom settings. Upgrading to version 4.0.10 or later of @fastify/express is essential to mitigate this risk.

Affected Version(s)

@fastify/express 4.0.0 < 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

eliteaja11-dev
mcollina
UlisesGascon
hwi-yong
zachariah-mithani
.