CVE-2025-69211
MEDIUM 6.9CVSS 4.0Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)
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.
- Published
- 29 Dec 2025
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-367
- Also known as
- GHSA-8wpr-639p-ccrj
- Sources
- NVDJSONOSV GHSA-8wpr-639p-ccrjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nestjs | nestcpe:2.3:a:nestjs:nest:*:*:*:*:*:node.js:*:* |
< 11.1.11 | 11.1.11 |
| OSV | npm | @nestjs/platform-fastify | < 11.1.11 | 11.1.11 |
References
- https://github.com/nestjs/nest/commit/c4cedda15a05aafec1e6045b36b0335ab850e771 · Patch, WEB
- https://github.com/nestjs/nest/security/advisories/GHSA-8wpr-639p-ccrj · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-69211 · ADVISORY
- https://github.com/nestjs/nest · PACKAGE
History
- 25 Nov 2026 21:00 UTC · NVD: first stored (published 29 Dec 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Dec 2025)