{"id":"CVE-2026-33011","state":"PUBLISHED","title":"Nest Fastify HEAD Request Middleware Bypass","description":"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.","publishedAt":"2026-03-20T04:37:15.044Z","updatedAt":"2026-03-20T15:48:23.564Z","severity":{"score":8.7,"label":"High","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["nestjs nest"],"affected":[{"vendor":"nestjs","product":"nest","versions":[{"version":"< 11.1.16","status":"affected"}]}],"references":["https://github.com/nestjs/nest/security/advisories/GHSA-wf42-42fg-fg84","https://github.com/nestjs/nest/commit/cbdf737cd6e7cefa52d05ecea2ae4af95c464614","https://github.com/nestjs/nest/releases/tag/v11.1.17"],"weaknesses":["CWE-670"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33011.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33011","state":"PUBLISHED","datePublished":"2026-03-20T04:37:15.044Z","dateUpdated":"2026-03-20T15:48:23.564Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-17T17:22:14.664Z"},"containers":{"cna":{"title":"Nest Fastify HEAD Request Middleware Bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nestjs","product":"nest","versions":[{"version":"< 11.1.16","status":"affected"}]}],"references":[{"url":"https://github.com/nestjs/nest/security/advisories/GHSA-wf42-42fg-fg84","name":"https://github.com/nestjs/nest/security/advisories/GHSA-wf42-42fg-fg84","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nestjs/nest/commit/cbdf737cd6e7cefa52d05ecea2ae4af95c464614","name":"https://github.com/nestjs/nest/commit/cbdf737cd6e7cefa52d05ecea2ae4af95c464614","tags":["x_refsource_MISC"]},{"url":"https://github.com/nestjs/nest/releases/tag/v11.1.17","name":"https://github.com/nestjs/nest/releases/tag/v11.1.17","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-670","lang":"en","description":"CWE-670: Always-Incorrect Control Flow Implementation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-20T04:37:15.044Z"},"source":{"advisory":"GHSA-wf42-42fg-fg84","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-20T15:48:14.460494Z","id":"CVE-2026-33011","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-20T15:48:23.564Z"}}]}}}