CVE-2026-19534undici vulnerable to Denial of Service via unrequested WebSocket subprotocol
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-undici | Fix pending | UBUNTU-CVE-2026-19534 | |
| Ubuntu 26.04 | node-undici | Under investigation | UBUNTU-CVE-2026-19534 | |
| Ubuntu 24.04 | node-undici | Under investigation | UBUNTU-CVE-2026-19534 | |
| Debian 14 | node-undici | Fixed | 8.10.2+dfsg+~cs3.2.2-1 | DEBIAN-CVE-2026-19534 |
| Debian 13 | node-undici | Fix pending | DEBIAN-CVE-2026-19534 | |
| Debian 12 | node-undici | Fix pending | DEBIAN-CVE-2026-19534 | |
| Red Hat Enterprise Linux 10 | grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs-devel | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs-docs | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs-libs | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs-npm | Fixed | 1:10.9.8-1.22.23.2.3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs22 | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs24 | Fixed | 1:24.21.0-1.el10_2 | RHSA-2026:73428 |
| Red Hat Enterprise Linux 10 | nodejs24-devel | Fixed | 1:24.21.0-1.el10_2 | RHSA-2026:73428 |
| Red Hat Enterprise Linux 10 | nodejs24-docs | Fixed | 1:24.21.0-1.el10_2 | RHSA-2026:73428 |
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Fixed | 1:24.21.0-1.el10_2 | RHSA-2026:73428 |
| Red Hat Enterprise Linux 10 | nodejs24-libs | Fixed | 1:24.21.0-1.el10_2 | RHSA-2026:73428 |
| Red Hat Enterprise Linux 10 | nodejs24-npm | Fixed | 2:11.19.0-1.24.21.0.1.el10_2 | RHSA-2026:73428 |
| Red Hat Enterprise Linux 10 | nodejs26 | Fixed | 1:26.8.2-1.el10_3 | RHSA-2026:98060 |
| Red Hat Enterprise Linux 10 | nodejs26-devel | Fixed | 1:26.8.2-1.el10_3 | RHSA-2026:98060 |
| Red Hat Enterprise Linux 10 | nodejs26-docs | Fixed | 1:26.8.2-1.el10_3 | RHSA-2026:98060 |
| Red Hat Enterprise Linux 10 | nodejs26-full-i18n | Fixed | 1:26.8.2-1.el10_3 | RHSA-2026:98060 |
| Red Hat Enterprise Linux 10 | nodejs26-libs | Fixed | 1:26.8.2-1.el10_3 | RHSA-2026:98060 |
| Red Hat Enterprise Linux 10 | nodejs26-npm | Fixed | 1:11.19.1-1.26.8.2.1.el10_3 | RHSA-2026:98060 |
| Red Hat Enterprise Linux 9 | nodejs | Fixed | 1:26.8.2-1.module+el9.9.0+24929+16cef9a5 | RHSA-2026:73838 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:26.8.2-1.module+el9.9.0+24929+16cef9a5 | RHSA-2026:73838 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed | 1:26.8.2-1.module+el9.9.0+24929+16cef9a5 | RHSA-2026:73838 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed | 1:24.21.0-1.module+el9.8.0+24924+cd677006 | RHSA-2026:97855 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fixed | 1:26.8.2-1.module+el9.9.0+24929+16cef9a5 | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:3.1.14-3.module+el9.8.0+24708+e71d2e1d | RHSA-2026:97855 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.8.0+24708+e71d2e1d | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-6.module+el9.8.0+24708+e71d2e1d | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | npm | Fixed | 1:11.19.0-1.24.21.0.1.module+el9.8.0+24924+cd677006 | RHSA-2026:97855 |
| Red Hat Enterprise Linux 9 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.2.2.module+el9.8.0+24958+80b2ac6e | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.22.1.5.module+el9.8.0+25292+33251f3b | RHSA-2026:73838 |
| Red Hat Enterprise Linux 9 | v8-14.6-devel | Fixed | 3:14.6.202.34-1.26.8.2.1.module+el9.9.0+24929+16cef9a5 | RHSA-2026:97855 |
| Red Hat Enterprise Linux 8 | nodejs | Fixed | 1:22.23.2-2.module+el8.10.0+24957+74108fbf | RHSA-2026:74085 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed | 1:22.23.2-2.module+el8.10.0+24957+74108fbf | RHSA-2026:74085 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed | 1:24.21.0-1.module+el8.10.0+24927+ed3d907a | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed | 1:22.23.2-2.module+el8.10.0+24957+74108fbf | RHSA-2026:74085 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Fixed | 1:24.21.0-1.module+el8.10.0+24927+ed3d907a | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed | 0:3.1.14-2.module+el8.10.0+24710+c2e9b41f | RHSA-2026:74085 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed | 0:2021.06-6.module+el8.10.0+24710+c2e9b41f | RHSA-2026:74085 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed | 0:2021.06-6.module+el8.10.0+24711+b610b202 | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | npm | Fixed | 1:11.19.0-1.24.21.0.1.module+el8.10.0+24927+ed3d907a | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.2.2.module+el8.10.0+24957+74108fbf | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.21.0.1.module+el8.10.0+24927+ed3d907a | RHSA-2026:74085 |
| AlmaLinux 10 | nodejs-docs | Fixed | 1:22.23.2-3.el10_2 | ALSA-2026:75864 |
| AlmaLinux 10 | nodejs24-docs | Fixed | 1:24.21.0-1.el10_2 | ALSA-2026:73428 |
| AlmaLinux 10 | nodejs24-npm | Fixed | 2:11.19.0-1.24.21.0.1.el10_2 | ALSA-2026:73428 |
| AlmaLinux 10 | nodejs26 | Fixed | 1:26.8.2-1.el10_3 | ALSA-2026:98060 |
| AlmaLinux 10 | nodejs26-devel | Fixed | 1:26.8.2-1.el10_3 | ALSA-2026:98060 |
| AlmaLinux 10 | nodejs26-docs | Fixed | 1:26.8.2-1.el10_3 | ALSA-2026:98060 |
| AlmaLinux 10 | nodejs26-full-i18n | Fixed | 1:26.8.2-1.el10_3 | ALSA-2026:98060 |
| AlmaLinux 10 | nodejs26-libs | Fixed | 1:26.8.2-1.el10_3 | ALSA-2026:98060 |
| AlmaLinux 10 | nodejs26-npm | Fixed | 1:11.19.1-1.26.8.2.1.el10_3 | ALSA-2026:98060 |
| AlmaLinux 9 | nodejs | Fixed | 1:24.21.0-1.module_el9.8.0+321+1555b6a2 | ALSA-2026:76750 |
| AlmaLinux 9 | nodejs-devel | Fixed | 1:22.23.2-2.module_el9.8.0+322+f4aa738c | ALSA-2026:73838 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:24.21.0-1.module_el9.8.0+321+1555b6a2 | ALSA-2026:76750 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:22.23.2-2.module_el9.8.0+322+f4aa738c | ALSA-2026:73838 |
| AlmaLinux 9 | nodejs-libs | Fixed | 1:24.21.0-1.module_el9.8.0+321+1555b6a2 | ALSA-2026:76750 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 3.1.14-6.module_el9.8.0+339+e26173b4 | ALSA-2026:73838 |
| AlmaLinux 9 | nodejs-packaging | Fixed | 2021.06-6.module_el9.7.0+227+12323393 | ALSA-2026:73838 |
| AlmaLinux 9 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el9.7.0+209+ecf6523e | ALSA-2026:76750 |
| AlmaLinux 9 | npm | Fixed | 1:11.19.0-1.24.21.0.1.module_el9.8.0+321+1555b6a2 | ALSA-2026:76750 |
| AlmaLinux 9 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.2.2.module_el9.8.0+322+f4aa738c | ALSA-2026:76750 |
| AlmaLinux 9 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.21.0.1.module_el9.8.0+321+1555b6a2 | ALSA-2026:73838 |
| AlmaLinux 8 | nodejs | Fixed | 1:24.21.0-1.module_el8.10.0+4292+21afb960 | ALSA-2026:75870 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:22.23.2-2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:74085 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:22.23.2-2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:74085 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:24.21.0-1.module_el8.10.0+4292+21afb960 | ALSA-2026:75870 |
| AlmaLinux 8 | nodejs-libs | Fixed | 1:22.23.2-2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:74085 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.1.14-2.module_el8.10.0+4252+aedd4c30 | ALSA-2026:74085 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-6.module_el8.10.0+4158+e796f37f | ALSA-2026:74085 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el8.10.0+4158+e796f37f | ALSA-2026:74085 |
| AlmaLinux 8 | npm | Fixed | 1:10.9.8-1.22.23.2.2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:74085 |
| AlmaLinux 8 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.2.2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:75870 |
| AlmaLinux 8 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.21.0.1.module_el8.10.0+4292+21afb960 | ALSA-2026:74085 |
| Rocky Linux 10 | nodejs22 | Fixed | 1:22.23.2-3.el10_2 | RLSA-2026:75864 |
| Rocky Linux 10 | nodejs24 | Fixed | 1:24.21.0-1.el10_2 | RLSA-2026:73428 |
| Rocky Linux 10 | nodejs26 | Fixed | 1:26.8.2-1.el10_3 | RLSA-2026:98060 |
| Rocky Linux 10 | nodejs26-devel | Fixed | 1:26.8.2-1.el10_3 | RLSA-2026:98060 |
| Rocky Linux 10 | nodejs26-docs | Fixed | 1:26.8.2-1.el10_3 | RLSA-2026:98060 |
| Rocky Linux 10 | nodejs26-full-i18n | Fixed | 1:26.8.2-1.el10_3 | RLSA-2026:98060 |
| Rocky Linux 10 | nodejs26-libs | Fixed | 1:26.8.2-1.el10_3 | RLSA-2026:98060 |
| Rocky Linux 10 | nodejs26-npm | Fixed | 1:11.19.1-1.26.8.2.1.el10_3 | RLSA-2026:98060 |
| Rocky Linux 9 | nodejs | Fixed | 1:22.23.2-2.module+el9.8.0+40374+17512296 | RLSA-2026:76750 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.1.14-3.module+el9.8.0+40281+14cc6568 | RLSA-2026:97855 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.7.0+40165+d075e3f2 | RLSA-2026:97855 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.1.14-2.module+el8.10.0+40277+b1b3f89e | RLSA-2026:75870 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-6.module+el8.10.0+40172+38f6fdd1 | RLSA-2026:74085 |
| npm library | undici | Fixed | 8.10.2 | GHSA-rfgv-xxqx-mfg5 |
What the vendor says
As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- undici: affected: 6.7.0 to before 6.28.1, 6.28.1 not affected, 7.0.0 to before 7.29.1, 7.29.1 not affected, 8.0.0 to before 8.10.2, 8.10.2 not affected; fixed in
6.28.1,7.29.1,8.10.2
References
- https://github.com/nodejs/undici/security/advisories/GHSA-rfgv-xxqx-mfg5
- https://cna.openjsf.org/security-advisories.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.