Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-137987 — undici

High · CVSS 7.5 First seen December 05, 2026

One of 14 undici vulnerabilities published together by NVD: our article covers all of them.

JavaScriptWebVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA

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

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Affected and fixed versions

ProductAffected versionsFixed in
undici≥ 8.0.0, < 8.14.18.14.1
≥ 7.17.0, < 7.30.47.30.4

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

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.

Timeline & sources

References

Related vulnerabilities & news