PT-2026-160053
CVE-2026-135279
·
Published
2026-11-26
·
Updated
2026-11-27
Description by
CVSS 3.1
9.1
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
@fastify/express versions prior to 4.0.14
Description
An issue exists where a request containing an empty dynamic route parameter can bypass middleware mounted within an Express Router or sub-application when running inside the Fastify framework. This occurs because Fastify's router accepts empty values that Express requires to be non-empty. This mismatch allows requests to reach a Fastify route handler while skipping authentication or other middleware-based access controls. The same bypass affects unanchored regular-expression mounts passed to the plugin.
Recommendations
Update to version 4.0.14 or later.
Enforce authentication in a Fastify hook such as
preHandler that runs after routing.
Mount the middleware on a static parent path.
Require non-empty values in the route params schema.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾