CVE-2026-33011
EPSS 0.04%Nest Fastify HEAD Request Middleware Bypass
Published: 3/17/2026Modified: 3/20/2026
Also known as:GHSA-wf42-42fg-fg84
Description
### 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/[email protected]`
Affected packages (1)
- npm/@nestjs/platform-fastifyfrom 0, < 11.1.16
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |