What’s Vulnerable › Vulnerabilities
CVE-2026-33011: Nest Fastify HEAD Request Middleware Bypass
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-20 · updated 2026-06-17
- Weakness: CWE-670
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.
Affected products
- nestjs nest: before 11.1.16 — fixed in 11.1.16
How to fix
Upgrade to a fixed version: nestjs nest 11.1.16. Check the vendor advisory for mitigations.
References
- https://github.com/nestjs/nest/commit/cbdf737cd6e7cefa52d05ecea2ae4af95c464614
- https://github.com/nestjs/nest/releases/tag/v11.1.17
- https://github.com/nestjs/nest/security/advisories/GHSA-wf42-42fg-fg84
Get alerted when CVE-2026-33011 or the next vulnerability affects your stack