Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M

CVE-2026-33011Nest Fastify HEAD Request Middleware Bypass

High 8.7

In plain English

A high-severity security flaw in nest from nestjs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.4%top 70.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@nestjs/platform-fastify11.1.16GHSA-wf42-42fg-fg84

Affected products (as reported)

VendorProductVersions
nestjs nest < 11.1.16

Weakness: CWE-670 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

References