CVE-2025-69211Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)
Updated under an hour ago ()
Does this affect you?
It affects nestjs nest. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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`.
- CVSS
- 6.9 MEDIUM (v4.0, CNA)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
- Weakness (CWE)
- CWE-367
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Dec 29, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
nestjs nest nestjs:nest (from the name) | before 11.1.11 | CNA record |
nestjs nest nestjs:nest | before 11.1.11 | NVD |
References
- https://github.com/nestjs/nest/security/advisories/GHSA-8wpr-639p-ccrjx-refsource-confirm, exploit, vendor-advisory
- https://github.com/nestjs/nest/commit/c4cedda15a05aafec1e6045b36b0335ab850e771x-refsource-misc, patch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.