CVE-2026-139829
Awaiting Analysis Awaiting Analysis - Queue

HTTP/2 Request Stream Error in Undici

Vulnerability report for CVE-2026-139829, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: openjs

Description

undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.3 and 8.0.0 through 8.14.0, when an application uses the stream API with a Node.js Readable request body over HTTP/2, a server that starts a response and then destroys the HTTP/2 session while the upload is still pending causes a single request body error to reach the stream handler's error path twice. The second call clears the stored callback, so the response writable's error handler throws an uncaught TypeError that the application's callback and error handling never see, and the Node.js process exits. The attacker only needs to control the HTTP/2 server's behavior, and the application must use stream with a streaming request body that has not been fully sent when the response starts, while request, Buffer and generator bodies are not affected by the remote trigger. On the 6.x line the HTTP/2 client reports the session error first, so the remote trigger does not reach the crash. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, use request instead of stream for streaming uploads to untrusted HTTP/2 servers, or send fully buffered request bodies.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-06
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
undici undici From 7.0.0 (inc) to 7.30.3 (inc)
undici undici From 8.0.0 (inc) to 8.14.0 (inc)
undici undici 7.30.4
undici undici 8.14.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-248 An exception is thrown from a function, but it is not caught.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the undici library, an HTTP client for Node.js. It causes a Denial of Service (DoS) by terminating the Node.js process when a server starts an HTTP/2 response while the client's request body is still being streamed. This leads to an uncaught TypeError that crashes the application.

Detection Guidance

To detect this vulnerability, check if your Node.js application uses the undici library versions 7.0.0 through 7.30.3 or 8.0.0 through 8.14.0. Inspect package.json for undici dependencies and verify versions. Monitor Node.js processes for unexpected crashes when using streaming request bodies with HTTP/2 servers.

Impact Analysis

The vulnerability can cause your Node.js application to crash unexpectedly, leading to downtime and service disruption. Attackers can remotely trigger this by controlling an HTTP/2 server's behavior, or it may occur unintentionally if a request body stream errors after a response starts.

Compliance Impact

This vulnerability primarily causes a Denial of Service (DoS) by crashing Node.js processes through an uncaught exception. For compliance with standards like GDPR or HIPAA, which require data availability and system reliability, this could lead to service disruptions, potential data processing failures, or unauthorized downtime. However, the vulnerability does not directly expose or leak data, so confidentiality requirements may not be directly impacted.

Mitigation Strategies

Upgrade undici to version 7.30.4 or 8.14.1 or later. As a temporary workaround, use the request() API instead of stream() for streaming uploads or send fully buffered request bodies to untrusted HTTP/2 servers.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-139829. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...