CVE-2026-54281
CVE-2026-54281 · Nest: Middleware Bypass on Fastify via Trailing Slash
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Nest is a framework for building scalable Node.js server-side applications. Prior to 11.1.24, an authentication bypass vulnerability exists in @nestjs/platform-fastify. When middleware is registered through NestJS's MiddlewareConsumer.forRoutes() API on the Fastify adapter, an unauthenticated client can bypass the Nest middleware registered for that route by simply appending a trailing slash (/) to the request URL. This bypass works on the default Fastify adapter configuration. This vulnerability is fixed in 11.1.24.
CVSS 8.7 · High · EPSS 0.5% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
nest
- Versions
- < 11.1.24: Affected
No fix published
@nestjs/platform-fastify npm
- Affected ranges
- SEMVER: < 11.1.24
Update to 11.1.24