Read the docs
TI-2026-39181 Aliases CVE-2026-54281GHSA-6v32-fjc9-9qf6

Nest: Middleware Bypass on Fastify via Trailing Slash

Priority MEDIUM 40CWE-863Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00498 42nd percentileScored 2026-11-07
Fix Fixed nest (nestjs): 11.1.24@nestjs/platform-fastify (npm): 11.1.24

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
nestjsnestbefore 11.1.2411.1.24Patch availableCNA
—@nestjs/platform-fastify (npm)before 11.1.2411.1.24Patch availableGHSA-6v32-fjc9-9qf6
  • nest Vendornestjs Affected before 11.1.24 Fixed in 11.1.24 Patch available CNA
  • @nestjs/platform-fastify (npm) Vendor— Affected before 11.1.24 Fixed in 11.1.24 Patch available GHSA-6v32-fjc9-9qf6

Remediation

  • Fix · CNA nest (nestjs) Fixed in 11.1.24
  • Fix · GHSA-6v32-fjc9-9qf6 @nestjs/platform-fastify (npm) Fixed in 11.1.24 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-54281
  2. 2026-10-03 Alias added: GHSA-6v32-fjc9-9qf6

References

  • TI-2025-34537 @nestjs/devtools-integration's CSRF to Sandbox Escape Allows for RCE against JS Developers CVSS 4.0CRITICAL 9.4
  • TI-2026-65315 Nest: Remote process termination via a deeply nested microservice message pattern CVSS 3.1HIGH 7.5
  • TI-2026-01938 NestJS 11.1.13 - Lack of data validation allowing authentication/authorization bypass CVSS 4.0HIGH 8.2
  • TI-2025-42665 Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU) CVSS 4.0MEDIUM 6.9
  • TI-2024-19449 File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute… CVSS 3.1MEDIUM 5.5
  • TI-2026-25458 Nest Fastify HEAD Request Middleware Bypass CVSS 4.0HIGH 8.7
See all 9 →

Sources