CVE-2026-120216
Last modified
CVE-2026-120216 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| fastify | fastify | >= 5.8.0, < 5.12.8 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-120216?
How severe is CVE-2026-120216?
How do I fix CVE-2026-120216?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-120208libheif 1.18.0 before 1.23.3 contains a heap-based buffer ov…7.5
- CVE-2026-120209AJ-Report through 1.7.1 signs share tokens with a hard-coded…9.8
- CVE-2026-120210FFmpeg 5.0 through 9.0.2 contains a path traversal vulnerabi…4.3
- CVE-2026-120213@fastify/http-proxy is a Fastify plugin that proxies HTTP re…9.1
- CVE-2026-120214@fastify/http-proxy is a Fastify plugin that proxies HTTP re…5.9
- CVE-2026-120215@fastify/cors is the CORS plugin for the Fastify web framewo…3.7
- CVE-2026-120217A vulnerability was detected in Delgan loguru 0.7.3. The aff…4.3
- CVE-2026-120218A flaw has been found in Typemill up to 2.26.0. The impacted…3.5
- CVE-2026-12022Race in Safe Browsing in Google Chrome on Mac prior to 149.0…8.3
- CVE-2026-120222undici is an HTTP client for Node.js. In versions 7.0.0 thro…5.9
- CVE-2026-120223A vulnerability was identified in Oray Pugongying X5 Pro up …3.1
- CVE-2026-120224A security flaw has been discovered in Oray Pugongying X5 Pr…9.9
Are you affected by CVE-2026-120216?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
