{
  "id": "CVE-2025-69211",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-69211",
  "published_at": "2025-12-29T16:01:22.801Z",
  "title": "Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU)",
  "vendor": "nestjs",
  "product": "nest",
  "cvss": {
    "score": 7.4,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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`.",
  "cwe": "CWE-367",
  "cpes": [
    "cpe:2.3:a:nestjs:nest:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.9,
    "nvd": 7.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nestjs",
        "product": "nest",
        "ranges": [
          "\u003c 11.1.11"
        ],
        "fixed_in": [
          "11.1.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade nest to 11.1.11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nestjs/nest/security/advisories/GHSA-8wpr-639p-ccrj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nestjs/nest/commit/c4cedda15a05aafec1e6045b36b0335ab850e771"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
