Home › CVE › JavaScript
CVE-2026-85014 — undici
Summary
undici's experimental WebSocketStream client crashes the whole Node.js process when a remote peer closes the TCP connection without a WebSocket close handshake. On an unclean close the internal socket-close handler calls abort on the writable stream unconditionally and discards the returned promise, but per the WHATWG Streams standard aborting a locked writable returns a promise that rejects with a TypeError. Because the application holds a writer on that writable, which is the only way to write, the rejection is never observed and Node's default unhandled-rejection behavior terminates the process. An untrusted server can therefore crash a client with a single abrupt disconnect, with no authentication and no application mistake. This affects undici versions from 7.0.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.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
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| undici | ≥ 7.0.0, < 7.29.1 | 7.29.1 |
| ≥ 8.0.0, < 8.10.2 | 8.10.2 |
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-85014?
undici's experimental WebSocketStream client crashes the whole Node.js process when a remote peer closes the TCP connection without a WebSocket close handshake. On an unclean close the internal socket-close handler calls abort on the writable stream unconditionally and discards the returned promise, but per the WHATWG Streams standard aborting a locked writable returns a promise that rejects with a TypeError. Weakness type: Improper Check for Unusual or Exceptional Conditions (CWE-754).
How severe is CVE-2026-85014?
CVE-2026-85014 has a CVSS 3.1 base score of 7.5 (high), from NVD. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-85014 being exploited?
Not as far as is known: CVE-2026-85014 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-85014?
undici ≥ 7.0.0, < 7.29.1 (fixed in 7.29.1); undici ≥ 8.0.0, < 8.10.2 (fixed in 8.10.2).
How do I fix CVE-2026-85014?
Update to a fixed release: undici 7.29.1; undici 8.10.2.