CVE-2026-137987
Awaiting Analysis Awaiting Analysis - Queue

HTTP/2 Connection Flood in Undici

Vulnerability report for CVE-2026-137987, 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.17.0 through 7.30.3 and 8.0.0 through 8.14.0, a malicious or compromised HTTP/2 origin can hold a request open without ever opening a stream, either by advertising a maximum of zero concurrent streams or while an extended CONNECT request such as a WebSocket handshake waits for the peer's settings, and then repeatedly send GOAWAY or close the connection. Each time, undici immediately reconnects and replays the held request without charging it against the existing replay budget, so the request never settles while the connection churn consumes CPU, and in one reproduction a single request opened thousands of sessions in under half a second. With undici 8.x defaults a plain WebSocket connection can negotiate HTTP/2 and reach this path, while on 7.x the WebSocket path requires the allowH2 option, and the impact is limited to the availability of the client process. 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, set allowH2 to false on the affected dispatcher to disable HTTP/2.

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 6 associated CPEs
Vendor Product Version / Range
nodejs undici From 7.17.0 (inc) to 7.30.3 (inc)
nodejs undici From 8.0.0 (inc) to 8.14.0 (inc)
nodejs undici 7.30.4
nodejs undici 8.14.1
nodejs undici From 7.17.0 (inc) to 7.30.4 (exc)
nodejs undici From 8.0.0 (inc) to 8.14.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the undici library, a popular HTTP client for Node.js. It allows a Denial of Service (DoS) attack where a malicious HTTP/2 origin holds a request open without opening a stream. The attacker repeatedly closes the connection, forcing undici to reconnect indefinitely. This causes high CPU usage and potential process unavailability.

Detection Guidance

Monitor for excessive reconnection attempts or high CPU usage from Node.js processes using undici. Check logs for repeated GOAWAY frames or connection closures. Use tools like netstat or ss to observe unusual connection churn from affected systems.

Impact Analysis

The vulnerability can lead to excessive CPU consumption and process crashes due to repeated reconnection attempts. This may cause service disruptions, slow response times, or complete unavailability of applications relying on undici for HTTP requests.

Compliance Impact

This vulnerability primarily causes a Denial of Service (DoS) by consuming excessive CPU and system resources through repeated reconnections, which could lead to service unavailability. It does not directly impact confidentiality or integrity of data. Compliance with standards like GDPR or HIPAA may be indirectly affected if the DoS disrupts systems handling personal or health data, potentially violating availability requirements.

Mitigation Strategies

Upgrade undici to version 7.30.4 or 8.14.1 or later. As a temporary workaround, disable HTTP/2 by setting allowH2: false in the dispatcher configuration.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137987. 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...