PT-2026-160052

CVE-2026-135270

·

Published

2026-11-26

·

Updated

2026-11-26

Description by

CVSS 3.1
7.4
High
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions @fastify/express versions 4.0.5 through 4.0.13
Description An issue exists in the plugin that allows Express middleware and applications to run within the Fastify web framework. When a mount path begins with an Express 5 optional leading segment written as a group, it is incorrectly treated as relative, resulting in a prepended slash when joined to the plugin prefix. This alters the matching pattern, causing the middleware to be mounted on a path that does not correspond to actual request paths. Consequently, the middleware does not execute for requests matching the intended routes, although Fastify routes still resolve to their handlers. This behavior allows an attacker to bypass authentication or other middleware-based access controls on the affected routes.
Recommendations Update to version 4.0.14 or later. Mount the middleware on each path spelling explicitly. Enforce authentication in a Fastify hook such as preHandler that runs after the router resolves the request.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-J373-FCW4-2CCV
Found an issue in the description? Have something to add? Feel free to write us 👾