{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "cbdf737cd6e7cefa52d05ecea2ae4af95c464614"
            }
          ],
          "repo": "https://github.com/nestjs/nest",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "447a373ebebd2c58b5b3c8d718f25922a025f2fe"
            }
          ],
          "repo": "https://github.com/nestjs/nest",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wf42-42fg-fg84"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-670"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33011.json"
  },
  "details": "Nest is a framework for building scalable Node.js server-side applications. In versions 11.1.15 and below, a NestJS application using @nestjs/platform-fastify GET middleware can be bypassed because Fastify automatically redirects HEAD requests to the corresponding GET handlers (if they exist). As a result: middleware will be completely skipped, the HTTP response won't include a body (since the response is truncated when redirecting a HEAD request to a GET handler), and the actual handler will still be executed. This issue is fixed in version 11.1.16.",
  "id": "CVE-2026-33011",
  "modified": "2026-04-01T23:08:05.346806003Z",
  "published": "2026-03-20T04:37:15.044Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/nestjs/nest/releases/tag/v11.1.17"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33011.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nestjs/nest/security/advisories/GHSA-wf42-42fg-fg84"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33011"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nestjs/nest/commit/cbdf737cd6e7cefa52d05ecea2ae4af95c464614"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Nest Fastify HEAD Request Middleware Bypass"
}