Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify streaming endpoint on fastify with nonzero handlerTimeout
-
DeliverySend request and keep stream open past timeout
-
ExploitTimeout fires, Fastify writes error on started response
-
ExecutionUncaught ERR_HTTP_HEADERS_SENT crashes Node process
-
ImpactServer 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).
CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
All versions of @fastify/oauth2 used a statically generated state parameter at startup time and were used across all req
A redirect vulnerability in the `fastify-static` module version >= 4.2.4 and < 4.4.1 allows remote attackers to redirect
Fastify is a fast and low overhead web framework, for Node.js. Rated high severity (CVSS 7.5), this vulnerability is rem
Prototype pollution vulnerability in fastify-multipart < 1.0.5 allows an attacker to crash fastify applications parsing
Fastify node module before 0.38.0 is vulnerable to a denial-of-service attack by sending a request with "Content-Type: a
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
A redirect vulnerability in the fastify-static module version < 4.2.4 allows remote attackers to redirect users to arbit
Authorization bypass in the @fastify/express middleware-compatibility plugin (versions 4.0.6 and earlier) lets unauthent
Authentication bypass in @fastify/express v4.0.4 and earlier allows remote unauthenticated attackers to access protected
Middleware bypass in Fastify Express plugin (fastify/express) allows complete circumvention of authentication, authoriza
Fastify is a web framework with minimal overhead and plugin architecture. Rated high severity (CVSS 8.8), this vulnerabi
Authentication and authorization bypass in @fastify/middie (Node.js middleware library for Fastify) allows remote unauth
EUVD-2026-115128
NVD
CVE.org
GitHub
VulDB
Exploit-DB