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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/nestjs/nest/security/advisories/GHSA-wf42-42fg-fg84
X_Refsource_Misc x_refsource_misc
https://github.com/nestjs/nest/commit/cbdf737cd6e7cefa52d05ecea2ae4af95c464614
X_Refsource_Misc x_refsource_misc
https://github.com/nestjs/nest/releases/tag/v11.1.17
Scores
CVSS v3
7.5
EPSS
0.0035
EPSS Percentile
27.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-670
Status
published
Products (2)
nestjs/nest
< 11.1.16 (2 CPE variants)
nestjs/platform-fastify
0 - 11.1.16npm
Published
Mar 20, 2026
Tracked Since
Mar 20, 2026