CVE-2026-19534
undici: undici: Denial of Service via unrequested WebSocket subprotocol
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-248, CWE-252
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | >=6.7.0, <6.28.1>=7.0.0, <7.29.1>=8.0.0, <8.10.2 | 6.28.17.29.18.10.2 |
| Seal npm | @seal-security/undici | >=6.21.1-sp1, <6.21.1-sp999>=6.23.0-sp1, <6.23.0-sp2>=7.18.2-sp1, <7.18.2-sp999>=7.19.2-sp1, <7.19.2-sp2p2>=7.22.0-sp1, <7.22.0-sp999 | 6.21.1-sp9996.23.0-sp27.18.2-sp9997.19.2-sp2p27.22.0-sp999 |
| Seal npm | undici | >=6.21.1-sp0, <6.21.1-sp999>=6.23.0-sp0, <6.23.0-sp2>=7.18.2-sp0, <7.18.2-sp999>=7.19.2-sp0, <7.19.2-sp2p2>=7.22.0-sp0, <7.22.0-sp999 | 6.21.1-sp9996.23.0-sp27.18.2-sp9997.19.2-sp2p27.22.0-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 162 fixes
Oracle Linux 2 releases · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | npm | 1:11.19.0-1.24.21.0.1.module+el8.10.0+91054+4b1a799c |
| 8 | nodejs +4 | 1:24.21.0-1.module+el8.10.0+91054+4b1a799c |
| 8 | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+91054+4b1a799c |
| 8 | nodejs-nodemon | 3.1.14-2.module+el8.10.0+91061+02523cc0 |
| 8 | v8-12-4-devel | 3:12.4.254.21-1.22.23.2.2.module+el8.10.0+91061+02523cc0 |
| 8 | v8-13-6-devel | 3:13.6.233.17-1.24.21.0.1.module+el8.10.0+91054+4b1a799c |
6 more rows
Red Hat 8 releases · 8 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift4-ose-monitoring-plugin-rhel9 | affected | — |
| 8 | openshift4-ose-monitoring-plugin-rhel9 | affected | — |
| 8 (nodejs:22) | nodejs-packaging +1 | 0:2021.06-6.module+el8.10.0+24710+c2e9b41f | RHSA-2026:75870 |
| 8 (nodejs:22) | nodejs-nodemon | 0:3.1.14-2.module+el8.10.0+24710+c2e9b41f | RHSA-2026:75870 |
| 8 (nodejs:22) | npm | 1:10.9.8-1.22.23.2.2.module+el8.10.0+24957+74108fbf | RHSA-2026:75870 |
| 8 (nodejs:22) | nodejs +4 | 1:22.23.2-2.module+el8.10.0+24957+74108fbf | RHSA-2026:75870 |
32 more rows
alma 5 releases · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs-docs | 1:22.23.2-3.el10_2 |
| 10 | nodejs24-docs | 1:24.21.0-1.el10_2 |
| 10 | nodejs24-npm | 2:11.19.0-1.24.21.0.1.el10_2 |
| 8 (nodejs:22) | npm | 1:10.9.8-1.22.23.2.2.module_el8.10.0+4296+737cb4d7 |
| 8 (nodejs:22) | nodejs +4 | 1:22.23.2-2.module_el8.10.0+4296+737cb4d7 |
| 8 (nodejs:22) | nodejs-packaging +1 | 2021.06-6.module_el8.10.0+4158+e796f37f |
17 more rows
amazon linux 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs22-npm | 1:10.9.8-1.22.23.2.1.amzn2023.0.3 |
| 2023 | nodejs24-npm | 1:11.19.0-1.24.21.0.1.amzn2023.0.1 |
| 2023 | nodejs22 +7 | 1:22.23.2-1.amzn2023.0.3 |
| 2023 | nodejs24 +7 | 1:24.21.0-1.amzn2023.0.1 |
| 2023 | v8-12-4-devel | 3:12.4.254.21-1.22.23.2.1.amzn2023.0.3 |
| 2023 | v8-13-6-devel | 3:13.6.233.17-1.24.21.0.1.amzn2023.0.1 |
chainguard 1 release · 13 packages
| Release | Package | Fixed in |
|---|---|---|
| lerna | 10.0.1-r11 | |
| npm-11 | 11.20.0-r3 | |
| commercial-gitlab-rails-ee-19-1 | 19.1.7-r3 | |
| commercial-gitlab-rails-ee-fips-19-1 | 19.1.9-r0 | |
| commercial-gitlab-rails-ee-19-2 +1 | 19.2.7-r1 | |
| commercial-gitlab-rails-ee-19-3 +1 | 19.3.3-r1 |
7 more rows
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | affected |
| 14 | node-undici | 8.10.2+dfsg+~cs3.2.2-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | 7.3.0+dfsg1+~cs24.12.11-1+e2 |
minimos 1 release · 16 packages
| Release | Package | Fixed in |
|---|---|---|
| pi-cli | 0.86.0-r0 | |
| npm | 12.2.1-r0 | |
| node-gyp | 13.1.0-r0 | |
| nginx-proxy-manager-2 | 2.16.0-r0 | |
| n8n | 2.43.6-r0 | |
| homepage | 2.5.0-r0 |
10 more rows
rocky 5 releases · 11 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs-npm | 1:10.9.8-1.22.23.2.3.el10_2 |
| 10 | nodejs26-npm | 1:11.19.1-1.26.8.2.1.el10_3 |
| 10 | nodejs +4 | 1:22.23.2-3.el10_2 |
| 10 | nodejs24 +4 | 1:24.21.0-1.el10_2 |
| 10 | nodejs26 +4 | 1:26.8.2-1.el10_3 |
| 10 | nodejs24-npm | 2:11.19.0-1.24.21.0.1.el10_2 |
39 more rows
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-node-undici | affected |
wolfi 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| lerna | 10.0.1-r11 | |
| code-server | 4.139.1-r2 | |
| renovate | 44.133.0-r0 | |
| prism | 5.16.0-r14 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:75870
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:76750
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-19534
- bugzilla.redhat.com https://bugzilla.redhat.com/2481394
- bugzilla.redhat.com https://bugzilla.redhat.com/2528759
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481394
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2528759
- cna.openjsf.org https://cna.openjsf.org/security-advisories.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-19534
Show all 25 references
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9496
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-76750.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:75870
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/commit/2af0faf88b906d3127a360c3ac75164c0f95e5a5
- github.com https://github.com/nodejs/undici/commit/6615e0175e9b635bcd2e3e87a47daa82f6f5b728
- github.com https://github.com/nodejs/undici/commit/66e12816064cf3068f63bd134748b7fc4e779bad
- github.com https://github.com/nodejs/undici/releases/tag/v6.28.1
- github.com https://github.com/nodejs/undici/releases/tag/v7.29.1
- github.com https://github.com/nodejs/undici/releases/tag/v8.10.2
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-rfgv-xxqx-mfg5
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-19534.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-76750.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-19534
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-19534
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.