PT-2026-160049
CVE-2026-135205
·
Published
2026-11-26
·
Updated
2026-11-26
Description by
CVSS 3.1
7.4
HighMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
@fastify/middie versions 9.3.6 through 9.3.9
Description
In the @fastify/middie plugin, which provides Express-style middleware support for the Fastify web framework, a route or mount path defined without a leading slash inside a plugin registered under a prefix is handled inconsistently. The middleware is mounted with a separating slash after the prefix, but the route is concatenated directly to the prefix. Consequently, a request sent to the concatenated path reaches the route handler without executing the intended middleware, allowing an attacker to bypass authentication or other middleware-based access controls.
Recommendations
Update to version 9.3.10 or later.
Begin all route and mount paths with a slash.
Enforce authentication in a Fastify hook such as
preHandler that runs after the router resolves the request.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾