Skip to main content

Fastify EUVDEUVD-2026-115128

| CVE-2026-120216 MEDIUM
Uncaught Exception (CWE-248)
2026-11-02 ce714d77-add3-4f53-aff5-83d477b104bb
5.9
CVSS 3.1 · Vendor: ce714d77-add3-4f53-aff5-83d477b104bb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify streaming endpoint on fastify with nonzero handlerTimeout
  2. Delivery
    Send request and keep stream open past timeout
  3. Exploit
    Timeout fires, Fastify writes error on started response
  4. Execution
    Uncaught ERR_HTTP_HEADERS_SENT crashes Node process
  5. Impact
    Server down, all in-flight requests interrupted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
Exploitation Conditions

Exploitation requires the server to be configured with a nonzero handlerTimeout (the non-default value) AND at least one route that returns a streaming response; the attacker sends a request to that streaming endpoint, lets it transmit headers, then holds the stream open until the timeout fires. Limiting factors: the default handlerTimeout of 0 is completely unaffected, so only applications that explicitly set a nonzero handlerTimeout on streaming routes are exposed; no authentication is required (PR:N) and no user interaction is needed, but the vulnerable configuration is not the default, which substantially reduces the realistic attack surface. Impact is availability-only (full process crash and interruption of concurrent requests); upgrading to fastify 5.12.8 is the fix, or setting handlerTimeout to 0 disables the affected timeout path as a workaround.

Impact

This is a moderate, conditional availability vulnerability rather than a top-tier emergency, and the signals are consistent in pointing that way. The supplied CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, 5.9) correctly captures network reach by an unauthenticated client (PR:N) with impact limited to availability (C:N/I:N/A:H); the AC:H reflects the non-default precondition rather than any attacker-side timing trick, since the available sources do not describe a race or uncontrolled condition. The priority signal is Decision label 'this_month' (not act_now/emergency). KEV status is NO (not CISA-listed), there is no public exploit identified, and no EPSS score was provided in the input, so exploitation-probability cannot be quantified from this data. The single most important caveat, confirmed by both the NVD description and the GHSA advisory, is that exploitation requires a non-default configuration: a nonzero handlerTimeout AND a route that returns a streaming response. The default handlerTimeout of 0 is explicitly not affected, which sharply narrows the real-world exposed population. Net: a real, fixable DoS worth patching this month for teams that set handlerTimeout on streaming routes, but not a drop-everything issue given the config dependency, availability-only impact, absence of KEV/POC, and no EPSS to suggest widespread opportunistic exploitation.

Exploit ScenarioDerived

An application running fastify 5.8.0-5.12.7 is configured with a nonzero handlerTimeout and exposes a streaming endpoint. An unauthenticated remote client sends a single request to that endpoint and keeps the connection open past the timeout after headers have already been sent; when the timeout fires, Fastify tries to emit a fresh error response on an already-started response, raising an uncaught ERR_HTTP_HEADERS_SENT that crashes the Node.js process and drops all other in-flight requests. No public exploit code or PoC reference was provided in the input.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 02, 2026

Denial of service in Fastify 5.8.0 through 5.12.7 can terminate the Node.js process when a server uses a nonzero handlerTimeout and a streaming route stays open past that timeout. An unauthenticated remote client can trigger the crash with a single request to an affected streaming endpoint, interrupting other in-flight requests; the default handlerTimeout of 0 is not affected, and no public exploit code was identified at time of analysis. This is a moderate, conditional availability issue because the vulnerable configuration is not the default, and it is fixed in Fastify 5.12.8.

RemediationAI

Vendor-released patch: Fastify 5.12.8. Upgrade to Fastify 5.12.8 or later. If upgrading immediately is not possible, set handlerTimeout to 0 (the default), which disables the affected timeout path; this workaround removes handler timeout enforcement for the application, so requests that would otherwise be bounded by handlerTimeout can run longer. Vendor advisory details are at https://github.com/fastify/fastify/security/advisories/GHSA-3qgw-9275-xf8w and https://cna.openjsf.org/security-advisories.html.

Affected VersionsENISA

fastify 5.8.0 <5.12.8

Affected Packages

euvd fastify fix: 5.12.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Fastify is a Node.js web framework. The flaw is CWE-248 (Uncaught Exception) in the handlerTimeout path for streaming responses. Once a streaming response has sent HTTP headers, Fastify's timeout handling attempts to write a new error response to a response that has already started; Node.js raises ERR_HTTP_HEADERS_SENT, and because it is uncaught the process exits. Exploitation requires the non-default configuration of a nonzero handlerTimeout plus at least one route returning a streaming response; the default handlerTimeout value of 0 never enters this path. Affected npm package versions are >=5.8.0 and <5.12.8, fixed in 5.12.8. Authentication requirements are unauthenticated (CVSS PR:N).

Know when Fastify gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ce714d77-add3-4f53-aff5-83d477b104bb) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

An unauthenticated client simply holds a stream open past the configured timeout (AC:L, PR:N); impact is a full process crash so A:H with C:N/I:N; the non-default config precondition is environmental, not a base metric.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).

CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 02, 2026 - 12:16 EUVD
CVE Published
Nov 02, 2026 - 11:17 cve.org
MEDIUM 5.9

DescriptionCVE.org

fastify is a web framework for Node.js. In versions 5.8.0 through 5.12.7, when the server is configured with a nonzero handlerTimeout and a route returns a streaming response, a request whose stream has already sent its headers but stays open past the timeout crashes the server. When the timeout fires, Fastify tries to send a new error response on a response that has already started, raising an uncaught ERR_HTTP_HEADERS_SENT that terminates the Node.js process and interrupts any other in-flight requests. An unauthenticated remote client can trigger this with a single request to an affected streaming endpoint, so the impact is availability only, and exploitation requires the non-default handlerTimeout to be set. The default handlerTimeout of 0 is not affected. The issue is fixed in fastify 5.12.8, and users should upgrade to 5.12.8 or later. As a workaround, set handlerTimeout to 0, which disables the affected timeout path.

Threat Intelligence Overview

Prevalence
High
fastify is a widely deployed Node.js web framework across many web backends
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2023-31999 HIGH POC
8.8 Jul 04

All versions of @fastify/oauth2 used a statically generated state parameter at startup time and were used across all req

CVE-2021-22964 HIGH POC
8.8 Oct 14

A redirect vulnerability in the `fastify-static` module version >= 4.2.4 and < 4.4.1 allows remote attackers to redirect

CVE-2025-32442 HIGH POC
7.5 Apr 18

Fastify is a fast and low overhead web framework, for Node.js. Rated high severity (CVSS 7.5), this vulnerability is rem

CVE-2020-8136 HIGH POC
7.5 Mar 20

Prototype pollution vulnerability in fastify-multipart < 1.0.5 allows an attacker to crash fastify applications parsing

CVE-2018-3711 HIGH POC
7.5 Jun 07

Fastify node module before 0.38.0 is vulnerable to a denial-of-service attack by sending a request with "Content-Type: a

CVE-2020-8192 MEDIUM POC
6.5 Jul 30

A denial of service vulnerability exists in Fastify v2.14.1 and v3.0.0-rc.4 that allows a malicious user to trigger reso

CVE-2021-22963 MEDIUM POC
6.1 Oct 14

A redirect vulnerability in the fastify-static module version < 4.2.4 allows remote attackers to redirect users to arbit

CVE-2026-6556 CRITICAL
9.1 Jun 30

Authorization bypass in the @fastify/express middleware-compatibility plugin (versions 4.0.6 and earlier) lets unauthent

CVE-2026-33808 CRITICAL
9.1 Apr 15

Authentication bypass in @fastify/express v4.0.4 and earlier allows remote unauthenticated attackers to access protected

CVE-2026-33807 CRITICAL
9.1 Apr 15

Middleware bypass in Fastify Express plugin (fastify/express) allows complete circumvention of authentication, authoriza

CVE-2022-41919 HIGH
8.8 Nov 22

Fastify is a web framework with minimal overhead and plugin architecture. Rated high severity (CVSS 8.8), this vulnerabi

CVE-2026-2880 HIGH
8.2 Feb 27

Authentication and authorization bypass in @fastify/middie (Node.js middleware library for Fastify) allows remote unauth

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy