WebSocketStream Client Crash in Undici for Node.js by Independent Vendor
CVE-2026-85014

5.9MEDIUM

Key Information:

Vendor

Undici

Status
Vendor
CVE Published:
4 September 2026

What is CVE-2026-85014?

A vulnerability exists in the undici's experimental WebSocketStream client, where a remote peer can crash the Node.js process by closing the TCP connection abruptly without a proper WebSocket close handshake. This problematic behavior stems from the internal socket-close handler, which calls abort on the writable stream unconditionally. As per the WHATWG Streams standard, this leads to unhandled promise rejections, resulting in the termination of the process. This issue affects undici versions 7.0.0 through 7.29.1, and 8.0.0 through 8.10.2. It's recommended that users upgrade to undici versions 7.29.1 or 8.10.2 to mitigate this vulnerability.

Affected Version(s)

undici 7.0.0 < 7.29.1

undici 8.0.0 < 8.10.2

undici 7.29.1

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Yanhaoxi
mcollina
UlisesGascon
.