Nest Fastify HEAD Request Middleware Bypass
### Impact In 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). - The actual handler will still be executed. ### Patches Fixed in `@nestjs/platform-fastify@11.1.16`
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-33011US | high7.5 | — | ||
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… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/nestjs/nestPACKAGE
- https://github.com/nestjs/nest/commit/cbdf737cd6e7cefa52d05ecea2ae4af95c464614WEB
- https://github.com/nestjs/nest/releases/tag/v11.1.17WEB
- https://github.com/nestjs/nest/security/advisories/GHSA-wf42-42fg-fg84WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-33011ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan