# CVE-2025-69211: Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 36% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-29T16:01:22.801Z
- Modified: 2026-10-07T12:10:00.170Z
- Also known as: GHSA-8wpr-639p-ccrj
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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`.

(As written by CVE List.)

## Affected

- nestjs nest: < 11.1.11; before 11.1.11
- @nestjs/platform-fastify (npm): before 11.1.11

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/nestjs/nest/security/advisories/GHSA-8wpr-639p-ccrj> (exploit, vendor-advisory, web)
- <https://github.com/nestjs/nest/commit/c4cedda15a05aafec1e6045b36b0335ab850e771> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-69211> (advisory)
- <https://github.com/nestjs/nest> (package)

## Sources

- CVE List: [CVE-2025-69211](https://www.cve.org/CVERecord?id=CVE-2025-69211), CVE Terms of Use, modified 2025-12-29
- GitHub Advisory Database: [GHSA-8wpr-639p-ccrj](https://github.com/advisories/GHSA-8wpr-639p-ccrj), CC-BY-4.0, modified 2025-12-30
- NVD: [CVE-2025-69211](https://nvd.nist.gov/vuln/detail/CVE-2025-69211), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-69211 · Whole record: https://cve.day/CVE-2025-69211.json · Rebuilt by cve.day 2026-11-25T22:59:10.003Z
