{"id":"CVE-2025-69211","aliases":["GHSA-8wpr-639p-ccrj"],"url":"https://o3.security/vulnerability/CVE-2025-69211","summary":"Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)","details":"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":"2025-12-29T16:01:22.801Z","modified":"2026-08-12T03:51:31.617483875Z","cvss":null,"epss":{"score":0.00369,"percentile":0.29639,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@nestjs/platform-fastify","fixedVersion":"11.1.11"}],"fix":{"url":"https://github.com/nestjs/nest/commit/c4cedda15a05aafec1e6045b36b0335ab850e771","label":"nestjs/nest@c4cedda"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69211.json"},{"type":"ADVISORY","url":"https://github.com/nestjs/nest/security/advisories/GHSA-8wpr-639p-ccrj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69211"},{"type":"FIX","url":"https://github.com/nestjs/nest/commit/c4cedda15a05aafec1e6045b36b0335ab850e771"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:31.617483875Z"}}