CVE-2025-69211CWE-367

CVE-2025-69211

High · published December 29, 2025

CVSS v3.1
7.4
EPSS
0%
Percentile
31.0
In the wild
Unconfirmed
What it is

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/[email protected]`.

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00382 · 31.0th percentile
Weakness
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition
Published
2025-12-29T21:15Z
Affected products (1)
ProductVersionsFixed in
nestjs/nest< 11.1.1111.1.11
References (2)
EPSS history
Timeline
  • 29 DEC 16:01Z
    Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)
    cvelistv5