Skip to main content
No exploitation reportedAwaiting NVD analysis

CVE-2026-137987

undici vulnerable to Denial of Service via unbounded HTTP/2 reconnection of held requests

No exploitation reported by the sources we read.

  • Published2026-12-05
  • WeaknessCWE-400

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-12-0510:04CVE publishedCNA

Versions per branch

Products declared by the CNA

As openjs, the CNA that assigned this CVE, declared them in the CVE record; versions as written. NVD lists no product for this CVE yet: this is the only product data so far.

  • undiciother versions: not affected
    Affected
    • ≥ 8.0.0, < 8.14.1fixed in 8.14.1semver
    • ≥ 7.17.0, < 7.30.4fixed in 7.30.4semver

    Not affected = 8.14.1 · = 7.30.4

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-12-05

Neither OSV.dev nor the vendor advisories we read list affected versions for CVE-2026-137987 yet.

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-12-05
  • CNACVSS 3.17.52026-12-05
  • CNAweakness (CWE)CWE-4002026-12-05

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-12-05
Last modified
2026-12-05
NVD status
Awaiting Analysis

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. 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.

Is CVE-2026-137987 actively exploited?

Active exploitation of CVE-2026-137987 has not been confirmed.

What is the CVSS score for CVE-2026-137987?

CVE-2026-137987 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record