CVE-2026-19534: undici's WebSocket client crashes the whole Node.js process during the opening handshake when a server respond
CVE-2026-19534 is a high-severity flaw (CVSS 7.5) affecting undici. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-09-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-19534?
undici: upgrade to 6.28.1, 7.29.1, 8.10.2. Exact commands for each OS are on this page.
Is CVE-2026-19534 being exploited?
CVE-2026-19534 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-19534 affect?
CVE-2026-19534 affects undici. Severity is high (CVSS 7.5). 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
How urgent is CVE-2026-19534?
Priority 40/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-109855 HIGH 7.5 UPGRADE undici is an HTTP client library for Node.js
- CVE-2026-109383 HIGH 7.4 UPGRADE undici is an HTTP client library for Node.js
- CVE-2026-109829 HIGH 7.4 UPGRADE undici is an HTTP client library for Node.js
- CVE-2026-109841 MEDIUM 5.9 UPGRADE undici is an HTTP client library for Node.js
- CVE-2026-109869 HIGH 7.5 UPGRADE undici is an HTTP client library for Node.js