Skip to main content
CVE-2025-69211VulnerabilityPublished

CVE-2025-69211: nestjs nest · Time-of-check Time-of-use (TOCTOU) Race Condition

Affects nestjs nestSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium : upgrade to 11.1.11 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 11.1.11
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade nestjs nest to 11.1.11.

Affected software

ProductAffectedFixed in
nestjs nestAffected
  • <11.1.11
Fixed in
  • 11.1.11

AI-suggested

European organizations should immediately upgrade @nestjs/platform-fastify to version 11.1.11 or later to apply the official patch. Review all NestJS applications using Fastify to identify middleware applied selectively to routes via string paths or controllers and refactor middleware usage to avoid route-specific application where possible. Implement comprehensive end-to-end security checks at the global middleware level rather than relying solely on route-specific middleware. Conduct thorough code audits and penetration testing focusing on authentication and authorization bypass scenarios. Employ runtime application self-protection (RASP) tools to detect unusual access patterns. Monitor application logs for anomalous access attempts to protected routes. Additionally, consider implementing Web Application Firewalls (WAFs) with rules tailored to detect and block suspicious URL encoding or request manipulation attempts targeting Fastify-based applications.

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/platform-fastify@11.1.11`.

References

Community reviews

Loading reviews…