CVE-2026-33011CWE-670

Nest Fastify HEAD Request Middleware Bypass

High · published March 20, 2026

CVSS v4.0
8.7
EPSS
0%
Percentile
41.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.00493 · 41.5th percentile
Weakness
CWE-670 · Always-Incorrect Control Flow Implementation
Published
2026-03-20T04:37Z
EPSS history
Timeline
  • 20 MAR 04:37Z
    Nest Fastify HEAD Request Middleware Bypass
    cvelistv5