CVE-2026-19534: undici - Denial of Service
- Cve: CVE-2026-19534
- Name: undici - Denial of Service
- 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.
- Impact: Remote attackers can crash the Node.js process, causing denial of service without authentication.
- Remediation: Upgrade to undici versions 6.28.1, 7.29.1, or 8.10.2 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00394
- Epss percentile: 0.34074
- Assignee: ce714d77-add3-4f53-aff5-83d477b104bb
- Published at: 2026-09-04T18:17:51Z
- Age in days: 81
- Modified at: 2026-09-16T20:41:08Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-19534
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-248 | Uncaught Exception |
References
| Url | Source | Tags |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | nvd | Vendor Advisory |
| https://github.com/nodejs/undici/security/advisories/GHSA-rfgv-xxqx-mfg5 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nodejs:undici | >= 8.0.0, < 8.10.2; >= 7.0.0, < 7.29.1; >= 6.7.0, < 6.28.1 | no | nvd | /v1/products/nodejs/undici |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nodejs/undici | commit, fix, package, releases, security_advisory | yes | /v1/repositories/nodejs/undici |
Index
- Repositories: 1033
- Repositories high signal: 787
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts