Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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]`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nestjs | nest | before 11.1.11 | 11.1.11 | Patch available | CNA |
| — | @nestjs/platform-fastify (npm) | before 11.1.11 | 11.1.11 | Patch available | GHSA-8wpr-639p-ccrj |
- nest Vendornestjs Affected before 11.1.11 Fixed in 11.1.11 Patch available CNA
- @nestjs/platform-fastify (npm) Vendor— Affected before 11.1.11 Fixed in 11.1.11 Patch available GHSA-8wpr-639p-ccrj
Remediation
- Fix · CNA nest (nestjs) Fixed in 11.1.11
- Fix · GHSA-8wpr-639p-ccrj @nestjs/platform-fastify (npm) Fixed in 11.1.11 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2025-69211
- 2026-10-03 Alias added: GHSA-8wpr-639p-ccrj
References
More nestjs Nest vulnerabilities
- TI-2026-01938 NestJS 11.1.13 - Lack of data validation allowing authentication/authorization bypass CVSS 4.0HIGH 8.2
- TI-2024-19449 File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute… CVSS 3.1MEDIUM 5.5
- TI-2026-25458 Nest Fastify HEAD Request Middleware Bypass CVSS 4.0HIGH 8.7
- TI-2026-29535 Nest: DoS via Recursive handleData in JsonSocket (TCP Transport) CVSS 3.1HIGH 7.5
- TI-2026-27632 @nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection') CVSS 4.0MEDIUM 6.3
- TI-2023-11333 Information disclosure in @nestjs/core CVSS 3.1MEDIUM 5.3
Sources
- CVE-2025-69211 · CVE Program
- CVE-2025-69211 · NVD
- FIRST EPSS
- GHSA-8wpr-639p-ccrj · GitHub Advisory Database · CC BY 4.0
- CVE-2025-69211 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences