Skip to main content
← All vulnerabilities
CVE-2026-54281GHSA-6V32-FJC9-9QF6

Nest: Middleware Bypass on Fastify via Trailing Slash

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.1.24
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • nestjs nest

    fixed in 11.1.24

  • @nestjs/platform-fastifynpm

    fixed in 11.1.24

References 1

GitHub · nestjs/nest