CVE-2026-33011 Nest Fastify HEAD Request Middleware Bypass
HighCVSS 8.7
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nestjs @nestjs/platform-fastify(npm) | < 11.1.16; <= 11.1.15 | 11.1.16 | Fixed |
| nestjs nest | < 11.1.16; = < 11.1.16 | 11.1.16 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nestjs nest | = < 11.1.16 | No fix listed |
| nestjs @nestjs/platform-fastify(npm) | <= 11.1.15 | No fix listed |
| nestjs nest | < 11.1.16 | 11.1.16 |
| nestjs @nestjs/platform-fastify(npm) | < 11.1.16 | 11.1.16 |
References
- https://github.com/nestjs/nest/security/advisories/GHSA-wf42-42fg-fg84 vendor-advisory
- https://github.com/nestjs/nest/commit/cbdf737cd6e7cefa52d05ecea2ae4af95c464614 patch
- https://github.com/nestjs/nest/releases/tag/v11.1.17 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product