{"id":"CVE-2025-69211","revision":"11bccdc3ebd44f6b9161c2e2ac168c82","records":[{"revision":"11bccdc3ebd44f6b9161c2e2ac168c82","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-69211","aliases":[],"title":"Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)","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`.","state":0,"publishedAt":"2025-12-29T16:01:22.801+00:00","modifiedAt":"2025-12-29T16:50:02.429+00:00","affected":[{"ecosystem":"Vendor product","name":"nest","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"nestjs\",\n                    \"product\": \"nest\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 11.1.11\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6.9,"severity":"MEDIUM"}],"references":["https://github.com/nestjs/nest/security/advisories/GHSA-8wpr-639p-ccrj","https://github.com/nestjs/nest/commit/c4cedda15a05aafec1e6045b36b0335ab850e771"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-69211","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-69211","identifiers":["CVE-2025-69211"]},"retained":false,"historicalAffected":[]}],"coverage":[]}