{"answers":{"affected":"2 open source packages ship an affected version, including @nestjs/platform-fastify. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-69211 exists.","fix":"Upgrade @nestjs/platform-fastify to 11.1.11 or later.","what":"CVE-2025-69211 is a medium-severity authentication bypass vulnerability in nestjs nest, published on 29 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-69211 and fix it if it is affected.\n\nWhat it is: CVE-2025-69211 is a medium-severity authentication bypass vulnerability in nestjs nest, published on 29 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-69211 exists.\n\nAffected packages and fixed versions:\n- @nestjs/platform-fastify (npm): affected all versions; fixed in 11.1.11\n- @nestjs/platform-fastify (npm): affected all versions; fixed in 11.1.11\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-69211/ (Markdown: https://insights.sbomify.com/CVE-2025-69211/index.md)","id":"CVE-2025-69211","markdown":"https://insights.sbomify.com/CVE-2025-69211/index.md","name":"CVE-2025-69211","record":{"aliases":["GHSA-8wpr-639p-ccrj"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"NestJS framework","requires_auth":"none","summary":"Attackers can bypass security middleware in NestJS Fastify applications to access protected routes or administrative endpoints without proper authentication.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nest","vendor":"nestjs"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"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`.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)","id":"CVE-2025-69211","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"OpenSTAManager has an OS Command Injection in P7M File Processing","id":"CVE-2025-69212"},"packages":[{"ecosystem":"npm","fixed":["11.1.11"],"introduced":["0"],"last_affected":[],"package":"@nestjs/platform-fastify","purl":null,"source":"GHSA-8wpr-639p-ccrj"},{"ecosystem":"npm","fixed":["11.1.11"],"introduced":["0"],"last_affected":[],"package":"@nestjs/platform-fastify","purl":"pkg:npm/%40nestjs/platform-fastify","source":"GHSA-8wpr-639p-ccrj"}],"prev":{"headline":"FacturaScripts vulnerable to Stored Cross-Site Scripting (XSS) via XML File Upload","id":"CVE-2025-69210"},"products":["nest"],"published":"2025-12-29","related":[{"cvss_score":8.7,"headline":"Nest Fastify HEAD Request Middleware Bypass","id":"CVE-2026-33011","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":8.2,"headline":"NestJS 11.1.13 - Lack of data validation allowing authentication/authorization bypass","id":"CVE-2026-2293","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":7.5,"headline":"Nest: DoS via Recursive handleData in JsonSocket (TCP Transport)","id":"CVE-2026-40879","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.3,"headline":"@nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection')","id":"CVE-2026-35515","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":5.5,"headline":"nest allows a remote attacker to execute arbitrary code via the Content-Type header","id":"CVE-2024-29409","kev_date_added":null,"published":"2025-03-14"},{"cvss_score":3.7,"headline":"@nestjs/core vulnerable to Information Exposure via StreamableFile pipe","id":"CVE-2023-26108","kev_date_added":null,"published":"2023-03-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-29","vendors":["nestjs"]},"summary":"Attackers can bypass security middleware in NestJS Fastify applications to access protected routes or administrative endpoints without proper authentication.","url":"https://insights.sbomify.com/CVE-2025-69211/"}