Nest Fastify HEAD Request Middleware Bypass
Description
Published to the GitHub Advisory Database
Mar 17, 2026
Reviewed
Mar 17, 2026
Published by the National Vulnerability Database
Mar 20, 2026
Last updated
Mar 20, 2026
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:
Patches
Fixed in
@nestjs/platform-fastify@11.1.16References