Skip to main content
← All vulnerabilities
CVE-2025-69211GHSA-8WPR-639P-CCRJ

Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)

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

Summary

Nest is a framework for building scalable Node.js server-side applications. Versions prior to 11.1.11 have a Fastify URL encoding middleware bypass. A NestJS application is vulnerable if it uses `@nestjs/platform-fastify`; relies on `NestMiddleware` (via `MiddlewareConsumer`) for security checks (authentication, authorization, etc.), or through `app.use()`; and applies middleware to specific routes using string paths or controllers (e.g., `.forRoutes('admin')`). Exploitation can result in unauthenticated users accessing protected routes, restricted administrative endpoints becoming accessible to lower-privileged users, and/or middleware performing sanitization or validation being skipped. This issue is patched in `@nestjs/platform-fastify@11.1.11`.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • nestjs nest

    fixed in 11.1.11

  • @nestjs/platform-fastifynpm

    fixed in 11.1.11

References 2

GitHub · nestjs/nest