8.7
/ 10
HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Description
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.
AI Analysis
Authentication bypass vulnerability in @nestjs/platform-fastify due to middleware bypass via trailing slash
Basic Information
ID
CVE-2026-54281
Source
GitHub_M
Published
Jun 22, 2026 at 20:48
Affected Product
Vendor
nestjs
Product
nest
Version
< 11.1.24
Affected Versions
nestjs nest < 11.1.24
CWE Classification
AI Assessment
AI Score
8.7 / 10
AI Severity
High
Vendor
NestJS
Product
Nest
Version
< 11.1.24