~ / search / GHSA-wf42-42fg-fg84

GHSA-wf42-42fg-fg84

Nest Fastify HEAD Request Middleware Bypass

Source: GitHub Advisory Database (reviewed) High CVE-2026-33011

Packages

EcosystemPackageAffectedFixed in
npm @nestjs/platform-fastify < 11.1.16 11.1.16

Details

As written in the advisory (Markdown source, shown as plain text).

### 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]`

References

External links from the advisory. They lead to third-party sites.