Express Middleware Vulnerability in Fastify Plugin by Fastify
CVE-2026-135270

7.4HIGH

Key Information:

Vendor
CVE Published:
26 November 2026

What is CVE-2026-135270?

The @fastify/express plugin, which allows running Express applications within the Fastify framework, is susceptible to a vulnerability in versions 4.0.5 through 4.0.13. This vulnerability arises when a mount path is incorrectly handled, resulting in middleware not being executed for intended routes. This flaw enables attackers to bypass authentication and access controls on affected routes, while Fastify routes remain unaffected. Users are advised to upgrade to version 4.0.14 or later for resolution. Alternatively, explicit path mounts or enforcing authentication via Fastify hooks are recommended as temporary workarounds.

Affected Version(s)

@fastify/express 4.0.5 < 4.0.14

@fastify/express 4.0.14

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

mcollina
UlisesGascon
.