Skip to main content
No exploitation reportedAwaiting NVD analysis

CVE-2026-139829

undici vulnerable to Denial of Service via unhandled exception in stream() on request body errors

No exploitation reported by the sources we read.

  • Published2026-12-05
  • WeaknessCWE-248

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

Timeline

dates in UTC
  1. 2026-12-0509:57CVE 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
    • ≥ 7.0.0, < 7.30.4fixed in 7.30.4semver
    • ≥ 8.0.0, < 8.14.1fixed in 8.14.1semver

    Not affected = 7.30.4 · = 8.14.1

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-139829 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 record2026-12-05
  • CNACVSS 3.17.52026-12-05
  • CNAweakness (CWE)CWE-2482026-12-05

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

Frequently asked questions

What is CVE-2026-139829?

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.

Is CVE-2026-139829 actively exploited?

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

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

CVE-2026-139829 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