Nest Fastify HEAD Request Middleware Bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nestjs | nest | before 11.1.16 | 11.1.16 | Patch available | CNA |
| — | @nestjs/platform-fastify (npm) | before 11.1.16 | 11.1.16 | Patch available | GHSA-wf42-42fg-fg84 |
- nest Vendornestjs Affected before 11.1.16 Fixed in 11.1.16 Patch available CNA
- @nestjs/platform-fastify (npm) Vendor— Affected before 11.1.16 Fixed in 11.1.16 Patch available GHSA-wf42-42fg-fg84
Remediation
- Fix · CNA nest (nestjs) Fixed in 11.1.16
- Fix · GHSA-wf42-42fg-fg84 @nestjs/platform-fastify (npm) Fixed in 11.1.16 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33011
- 2026-10-03 Alias added: GHSA-wf42-42fg-fg84
References
Advisory 2
More nestjs Nest vulnerabilities
- TI-2026-01938 NestJS 11.1.13 - Lack of data validation allowing authentication/authorization bypass CVSS 4.0HIGH 8.2
- TI-2025-42665 Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU) CVSS 4.0MEDIUM 6.9
- TI-2024-19449 File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute… CVSS 3.1MEDIUM 5.5
- TI-2026-29535 Nest: DoS via Recursive handleData in JsonSocket (TCP Transport) CVSS 3.1HIGH 7.5
- TI-2026-27632 @nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection') CVSS 4.0MEDIUM 6.3
- TI-2023-11333 Information disclosure in @nestjs/core CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-33011 · CVE Program
- CVE-2026-33011 · NVD
- FIRST EPSS
- GHSA-wf42-42fg-fg84 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences