High severity · published Jun 22, 2026
CVE-2026-54281
Nest: Middleware Bypass on Fastify via Trailing Slash
8.7
CVSS
0.5%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 43% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
nest · nestjs
< 11.1.24 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-54281
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-54281
github.com
https://github.com/nestjs/nest/security/advisories/GHSA-6v32-fjc9-9qf6
More from nest
9.8
CVE-2026-2293
NestJS 11.1.13 - Lack of data validation allowing authentication/authorization bypass
7.5
CVE-2026-102281
Nest: Remote process termination via a deeply nested microservice message pattern
7.5
CVE-2026-40879
Nest: DoS via Recursive handleData in JsonSocket (TCP Transport)
7.5
CVE-2026-33011
Nest Fastify HEAD Request Middleware Bypass
7.4
CVE-2025-69211
Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)
