CVE-2025-69211

High

Description

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]`.

SeverityHigh
CVSS7.4
Exploit probability—
ProductNest
PublishedDec 29, 2025
First seenDec 29, 2025
Weakness typeCWE-367CWE-367

How to fix

Update
  • nestjs nest11.1.11 or later
  • @nestjs/platform-fastify11.1.11 or later

Affected products

ProductAffected versionsFixed in
nestjs nestv < 11.1.1111.1.11
@nestjs/platform-fastifynpmv < 11.1.1111.1.11

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.