Home › CVE › JavaScript
CVE-2026-137987 — undici
One of 14 undici vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesSummary
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.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-400: Uncontrolled Resource Consumption
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| undici | ≥ 8.0.0, < 8.14.1 | 8.14.1 |
| ≥ 7.17.0, < 7.30.4 | 7.30.4 |
References by type
Vendor advisories
Other references
Affected
- undici
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-137987?
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. Weakness type: Uncontrolled Resource Consumption (CWE-400).
How severe is CVE-2026-137987?
CVE-2026-137987 has a CVSS 3.1 base score of 7.5 (high), from the CNA. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-137987 being exploited?
Not as far as is known: CVE-2026-137987 is not in CISA's Known Exploited Vulnerabilities catalog as of December 6, 2026.
Which versions are affected by CVE-2026-137987?
undici ≥ 8.0.0, < 8.14.1 (fixed in 8.14.1); undici ≥ 7.17.0, < 7.30.4 (fixed in 7.30.4).
How do I fix CVE-2026-137987?
Update to a fixed release: undici 8.14.1; undici 7.30.4.