hoch8.7
CVE-2026-33011
Nest Fastify HEAD Request Middleware Bypass
Auswirkung
### 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`
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | @nestjs/platform-fastify | <= 11.1.15 | 11.1.16 |
Betroffene Produkte · Nestjs
| Produkt | Betroffene Versionen |
|---|---|
| Nest | vor 11.1.16 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- 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
- https://github.com/advisories/GHSA-wf42-42fg-fg84
- https://nvd.nist.gov/vuln/detail/CVE-2026-33011