{"id":"CVE-2026-33011","aliases":["CVE-2026-33011","GHSA-wf42-42fg-fg84"],"related":[],"kind":"vulnerability","state":"published","title":"Nest Fastify HEAD Request Middleware Bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIn 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).\n\nAs a result:\n\n- Middleware will be completely skipped.\n- The HTTP response won't include a body (since the response is truncated when redirecting a HEAD request to a GET handler).\n- The actual handler will still be executed.\n\n### Patches\n\nFixed in `@nestjs/platform-fastify@11.1.16`","format":"markdown","source":"ghsa"},{"lang":"es","text":"Nest es un framework para construir aplicaciones escalables de servidor Node.js. En las versiones 11.1.15 e inferiores, una aplicación NestJS que utiliza el middleware GET de @nestjs/platform-fastify puede ser eludida porque Fastify redirige automáticamente las solicitudes HEAD a los gestores GET correspondientes (si existen). Como resultado: el middleware será completamente omitido, la respuesta HTTP no incluirá un cuerpo (ya que la respuesta se trunca al redirigir una solicitud HEAD a un gestor GET), y el gestor real seguirá ejecutándose. Este problema está solucionado en la versión 11.1.16.","source":"nvd"}],"published":"2026-03-17T18:38:38.000Z","modified":"2026-06-17T10:36:46.587Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-670"],"affected":[{"ranges":[{"version":"< 11.1.16","status":"affected"}],"vendor":"nestjs","product":"nest","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"11.1.16"}],"ecosystem":"npm","package":"@nestjs/platform-fastify","purl":"pkg:npm/%40nestjs/platform-fastify","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"11.1.16"}],"vendor":"nestjs","product":"nest","cpe":"cpe:2.3:a:nestjs:nest:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nestjs/nest/security/advisories/GHSA-wf42-42fg-fg84","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nestjs/nest/commit/cbdf737cd6e7cefa52d05ecea2ae4af95c464614","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nestjs/nest/releases/tag/v11.1.17","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33011","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nestjs/nest","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-20T15:48:14.460Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33011","url":"https://www.cve.org/CVERecord?id=CVE-2026-33011","licence":"CVE Terms of Use","modified":"2026-03-20T15:48:23.564Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wf42-42fg-fg84","url":"https://github.com/advisories/GHSA-wf42-42fg-fg84","licence":"CC-BY-4.0","modified":"2026-03-20T21:37:35.417Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33011","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33011","licence":"Public domain","modified":"2026-06-17T10:36:46.587Z"}],"updatedAt":"2026-11-25T22:59:16.274Z","epss":{"score":0.00393,"percentile":0.35639,"date":"2026-12-01T12:00:22.000Z"}}