PT-2026-49595 · Npm · @Nestjs/Platform-Fastify
Published
2026-06-15
·
Updated
2026-06-16
·
CVE-2026-54281
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
@nestjs/platform-fastify versions prior to 11.1.24
Description
An authentication bypass exists in the Fastify adapter when middleware is registered through the
MiddlewareConsumer.forRoutes() API. An unauthenticated client can bypass registered middleware, such as authentication guards, rate limiting, or logging, by appending a trailing slash (/) to the request URL. This issue occurs with the default Fastify adapter configuration and specifically affects applications using standard CRUD route shapes, such as 'GET /resource' and 'GET /resource/:id'.Recommendations
Update to version 11.1.24.
Fix
Incorrect Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Nestjs/Platform-Fastify