CVEfocus › CVE database › CVE-2026-19534

CVE-2026-19534undici vulnerable to Denial of Service via unrequested WebSocket subprotocol

CVSS 7.5 HighEPSS 0.6% (higher than 41% of CVEs)Published 2026-09-04Updated 2026-09-04Assigner: openjs

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.

CWE-248CWE-252

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

88Fixed
3Fix pending
2Under investigation
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-undiciFix pendingUBUNTU-CVE-2026-19534
Ubuntu 26.04node-undiciUnder investigationUBUNTU-CVE-2026-19534
Ubuntu 24.04node-undiciUnder investigationUBUNTU-CVE-2026-19534
Debian 14node-undiciFixed8.10.2+dfsg+~cs3.2.2-1DEBIAN-CVE-2026-19534
Debian 13node-undiciFix pendingDEBIAN-CVE-2026-19534
Debian 12node-undiciFix pendingDEBIAN-CVE-2026-19534
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 10nodejsFixed1:22.23.2-3.el10_2RHSA-2026:75864
Red Hat Enterprise Linux 10nodejs-develFixed1:22.23.2-3.el10_2RHSA-2026:75864
Red Hat Enterprise Linux 10nodejs-docsFixed1:22.23.2-3.el10_2RHSA-2026:75864
Red Hat Enterprise Linux 10nodejs-full-i18nFixed1:22.23.2-3.el10_2RHSA-2026:75864
Red Hat Enterprise Linux 10nodejs-libsFixed1:22.23.2-3.el10_2RHSA-2026:75864
Red Hat Enterprise Linux 10nodejs-npmFixed1:10.9.8-1.22.23.2.3.el10_2RHSA-2026:75864
Red Hat Enterprise Linux 10nodejs22Fixed1:22.23.2-3.el10_2RHSA-2026:75864
Red Hat Enterprise Linux 10nodejs24Fixed1:24.21.0-1.el10_2RHSA-2026:73428
Red Hat Enterprise Linux 10nodejs24-develFixed1:24.21.0-1.el10_2RHSA-2026:73428
Red Hat Enterprise Linux 10nodejs24-docsFixed1:24.21.0-1.el10_2RHSA-2026:73428
Red Hat Enterprise Linux 10nodejs24-full-i18nFixed1:24.21.0-1.el10_2RHSA-2026:73428
Red Hat Enterprise Linux 10nodejs24-libsFixed1:24.21.0-1.el10_2RHSA-2026:73428
Red Hat Enterprise Linux 10nodejs24-npmFixed2:11.19.0-1.24.21.0.1.el10_2RHSA-2026:73428
Red Hat Enterprise Linux 10nodejs26Fixed1:26.8.2-1.el10_3RHSA-2026:98060
Red Hat Enterprise Linux 10nodejs26-develFixed1:26.8.2-1.el10_3RHSA-2026:98060
Red Hat Enterprise Linux 10nodejs26-docsFixed1:26.8.2-1.el10_3RHSA-2026:98060
Red Hat Enterprise Linux 10nodejs26-full-i18nFixed1:26.8.2-1.el10_3RHSA-2026:98060
Red Hat Enterprise Linux 10nodejs26-libsFixed1:26.8.2-1.el10_3RHSA-2026:98060
Red Hat Enterprise Linux 10nodejs26-npmFixed1:11.19.1-1.26.8.2.1.el10_3RHSA-2026:98060
Red Hat Enterprise Linux 9nodejsFixed1:26.8.2-1.module+el9.9.0+24929+16cef9a5RHSA-2026:73838
Red Hat Enterprise Linux 9nodejs-develFixed1:26.8.2-1.module+el9.9.0+24929+16cef9a5RHSA-2026:73838
Red Hat Enterprise Linux 9nodejs-docsFixed1:26.8.2-1.module+el9.9.0+24929+16cef9a5RHSA-2026:73838
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:24.21.0-1.module+el9.8.0+24924+cd677006RHSA-2026:97855
Red Hat Enterprise Linux 9nodejs-libsFixed1:26.8.2-1.module+el9.9.0+24929+16cef9a5RHSA-2026:76750
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:3.1.14-3.module+el9.8.0+24708+e71d2e1dRHSA-2026:97855
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.8.0+24708+e71d2e1dRHSA-2026:76750
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-6.module+el9.8.0+24708+e71d2e1dRHSA-2026:76750
Red Hat Enterprise Linux 9npmFixed1:11.19.0-1.24.21.0.1.module+el9.8.0+24924+cd677006RHSA-2026:97855
Red Hat Enterprise Linux 9v8-12.4-develFixed3:12.4.254.21-1.22.23.2.2.module+el9.8.0+24958+80b2ac6eRHSA-2026:76750
Red Hat Enterprise Linux 9v8-13.6-develFixed3:13.6.233.17-1.24.22.1.5.module+el9.8.0+25292+33251f3bRHSA-2026:73838
Red Hat Enterprise Linux 9v8-14.6-develFixed3:14.6.202.34-1.26.8.2.1.module+el9.9.0+24929+16cef9a5RHSA-2026:97855
Red Hat Enterprise Linux 8nodejsFixed1:22.23.2-2.module+el8.10.0+24957+74108fbfRHSA-2026:74085
Red Hat Enterprise Linux 8nodejs-develFixed1:22.23.2-2.module+el8.10.0+24957+74108fbfRHSA-2026:74085
Red Hat Enterprise Linux 8nodejs-docsFixed1:24.21.0-1.module+el8.10.0+24927+ed3d907aRHSA-2026:75870
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:22.23.2-2.module+el8.10.0+24957+74108fbfRHSA-2026:74085
Red Hat Enterprise Linux 8nodejs-libsFixed1:24.21.0-1.module+el8.10.0+24927+ed3d907aRHSA-2026:75870
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:3.1.14-2.module+el8.10.0+24710+c2e9b41fRHSA-2026:74085
Red Hat Enterprise Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+24710+c2e9b41fRHSA-2026:74085
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-6.module+el8.10.0+24711+b610b202RHSA-2026:75870
Red Hat Enterprise Linux 8npmFixed1:11.19.0-1.24.21.0.1.module+el8.10.0+24927+ed3d907aRHSA-2026:75870
Red Hat Enterprise Linux 8v8-12.4-develFixed3:12.4.254.21-1.22.23.2.2.module+el8.10.0+24957+74108fbfRHSA-2026:75870
Red Hat Enterprise Linux 8v8-13.6-develFixed3:13.6.233.17-1.24.21.0.1.module+el8.10.0+24927+ed3d907aRHSA-2026:74085
AlmaLinux 10nodejs-docsFixed1:22.23.2-3.el10_2ALSA-2026:75864
AlmaLinux 10nodejs24-docsFixed1:24.21.0-1.el10_2ALSA-2026:73428
AlmaLinux 10nodejs24-npmFixed2:11.19.0-1.24.21.0.1.el10_2ALSA-2026:73428
AlmaLinux 10nodejs26Fixed1:26.8.2-1.el10_3ALSA-2026:98060
AlmaLinux 10nodejs26-develFixed1:26.8.2-1.el10_3ALSA-2026:98060
AlmaLinux 10nodejs26-docsFixed1:26.8.2-1.el10_3ALSA-2026:98060
AlmaLinux 10nodejs26-full-i18nFixed1:26.8.2-1.el10_3ALSA-2026:98060
AlmaLinux 10nodejs26-libsFixed1:26.8.2-1.el10_3ALSA-2026:98060
AlmaLinux 10nodejs26-npmFixed1:11.19.1-1.26.8.2.1.el10_3ALSA-2026:98060
AlmaLinux 9nodejsFixed1:24.21.0-1.module_el9.8.0+321+1555b6a2ALSA-2026:76750
AlmaLinux 9nodejs-develFixed1:22.23.2-2.module_el9.8.0+322+f4aa738cALSA-2026:73838
AlmaLinux 9nodejs-docsFixed1:24.21.0-1.module_el9.8.0+321+1555b6a2ALSA-2026:76750
AlmaLinux 9nodejs-full-i18nFixed1:22.23.2-2.module_el9.8.0+322+f4aa738cALSA-2026:73838
AlmaLinux 9nodejs-libsFixed1:24.21.0-1.module_el9.8.0+321+1555b6a2ALSA-2026:76750
AlmaLinux 9nodejs-nodemonFixed3.1.14-6.module_el9.8.0+339+e26173b4ALSA-2026:73838
AlmaLinux 9nodejs-packagingFixed2021.06-6.module_el9.7.0+227+12323393ALSA-2026:73838
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:76750
AlmaLinux 9npmFixed1:11.19.0-1.24.21.0.1.module_el9.8.0+321+1555b6a2ALSA-2026:76750
AlmaLinux 9v8-12.4-develFixed3:12.4.254.21-1.22.23.2.2.module_el9.8.0+322+f4aa738cALSA-2026:76750
AlmaLinux 9v8-13.6-develFixed3:13.6.233.17-1.24.21.0.1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
AlmaLinux 8nodejsFixed1:24.21.0-1.module_el8.10.0+4292+21afb960ALSA-2026:75870
AlmaLinux 8nodejs-develFixed1:22.23.2-2.module_el8.10.0+4296+737cb4d7ALSA-2026:74085
AlmaLinux 8nodejs-docsFixed1:22.23.2-2.module_el8.10.0+4296+737cb4d7ALSA-2026:74085
AlmaLinux 8nodejs-full-i18nFixed1:24.21.0-1.module_el8.10.0+4292+21afb960ALSA-2026:75870
AlmaLinux 8nodejs-libsFixed1:22.23.2-2.module_el8.10.0+4296+737cb4d7ALSA-2026:74085
AlmaLinux 8nodejs-nodemonFixed3.1.14-2.module_el8.10.0+4252+aedd4c30ALSA-2026:74085
AlmaLinux 8nodejs-packagingFixed2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:74085
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:74085
AlmaLinux 8npmFixed1:10.9.8-1.22.23.2.2.module_el8.10.0+4296+737cb4d7ALSA-2026:74085
AlmaLinux 8v8-12.4-develFixed3:12.4.254.21-1.22.23.2.2.module_el8.10.0+4296+737cb4d7ALSA-2026:75870
AlmaLinux 8v8-13.6-develFixed3:13.6.233.17-1.24.21.0.1.module_el8.10.0+4292+21afb960ALSA-2026:74085
Rocky Linux 10nodejs22Fixed1:22.23.2-3.el10_2RLSA-2026:75864
Rocky Linux 10nodejs24Fixed1:24.21.0-1.el10_2RLSA-2026:73428
Rocky Linux 10nodejs26Fixed1:26.8.2-1.el10_3RLSA-2026:98060
Rocky Linux 10nodejs26-develFixed1:26.8.2-1.el10_3RLSA-2026:98060
Rocky Linux 10nodejs26-docsFixed1:26.8.2-1.el10_3RLSA-2026:98060
Rocky Linux 10nodejs26-full-i18nFixed1:26.8.2-1.el10_3RLSA-2026:98060
Rocky Linux 10nodejs26-libsFixed1:26.8.2-1.el10_3RLSA-2026:98060
Rocky Linux 10nodejs26-npmFixed1:11.19.1-1.26.8.2.1.el10_3RLSA-2026:98060
Rocky Linux 9nodejsFixed1:22.23.2-2.module+el9.8.0+40374+17512296RLSA-2026:76750
Rocky Linux 9nodejs-nodemonFixed0:3.1.14-3.module+el9.8.0+40281+14cc6568RLSA-2026:97855
Rocky Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:97855
Rocky Linux 8nodejs-nodemonFixed0:3.1.14-2.module+el8.10.0+40277+b1b3f89eRLSA-2026:75870
Rocky Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:74085
npm libraryundiciFixed8.10.2GHSA-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.

References

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.