CVE-2026-19534

undici vulnerable to Denial of Service via unrequested WebSocket subprotocol

HIGH
7.5
CVSS Score
Published: September 4, 2026 at 05:10 PM UTC
Updated: September 16, 2026 at 08:54 PM UTC
2 products affected across 2 vendorsUndiciUndici

Using undici by undici?

Get instant alerts when new vulnerabilities affect undici - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

undici's WebSocket client crashes the whole Node.js process during the opening handshake when a server responds with a subprotocol that the client never requested. A default WebSocket connection sends no subprotocol, but if the server's 101 response includes a Sec-WebSocket-Protocol header, undici dereferences a null value while checking it against the requested list and throws an uncaught TypeError. Because that code runs inside a microtask with no surrounding error handling, the exception propagates and terminates the process under Node's default behavior, instead of gracefully failing the connection as required by the WebSocket protocol. Any application that opens a WebSocket to an attacker-controlled or compromised server, or over a plaintext connection subject to a machine-in-the-middle, can be crashed remotely without authentication in the default configuration. This affects undici versions from 6.7.0 up to 6.28.1, from 7.0.0 up to 7.29.1, and from 8.0.0 up to 8.10.2. Users should upgrade to undici 6.28.1, 7.29.1, or 8.10.2.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.7.0 ≤ v < 6.28.17.0.0 ≤ v < 7.29.18.0.0 ≤ v < 8.10.2
Affected range stops below 6.28.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.29.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.10.2, so it looks safe — our inference, not a vendor statement
6.7.0 ≤ v < 6.28.17.0.0 ≤ v < 7.29.18.0.0 ≤ v < 8.10.26.7.07.0.08.0.0
Vendor states this is fixed in 6.28.1 (unaffected)
Vendor states this is fixed in 7.29.1 (unaffected)
Vendor states this is fixed in 8.10.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHopenjs
Vector?

Quick Info

StatusANALYZED
CWE
CWE-248CWE-252

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card