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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade v8-13.6-develUpgrade nodejs-full-i18nUpgrade nodejsUpgrade nodejs-libsUpgrade nodejs-develUpgrade npmUpgrade nodejs-docsUpgrade v8-12.4-develUpgrade nodejs-nodemonUpgrade nodejs-packaging-bundlerUpgrade nodejs-packaging | Oct 11, 2026 | Oct 5, 2026 |
| Amazon_linux_2023 | — | Upgrade nodejs24Upgrade nodejs22-docsUpgrade nodejs24-full-i18nUpgrade nodejs22Upgrade nodejs22-full-i18nUpgrade v8-13.6-develUpgrade nodejs24-debugsourceUpgrade nodejs22-debuginfoUpgrade nodejs24-develUpgrade nodejs22-develUpgrade nodejs24-libs-debuginfoUpgrade nodejs24-debuginfoUpgrade nodejs22-debugsourceUpgrade nodejs24-docsUpgrade nodejs24-libsUpgrade nodejs22-libsUpgrade nodejs22-npmUpgrade nodejs22-libs-debuginfoUpgrade nodejs24-npmUpgrade v8-12.4-devel | Sep 30, 2026 | Sep 4, 2026 |
| Redhat_linux | — | Upgrade nodejs24-develNo solution existsUpgrade nodejs22-debugsourceUpgrade nodejsUpgrade nodejs-debugsourceUpgrade nodejs-npmUpgrade nodejs24-docsUpgrade nodejs-nodemonUpgrade nodejs-full-i18nUpgrade nodejs22-debuginfoUpgrade nodejs-docsUpgrade nodejs-libsUpgrade nodejs-packagingUpgrade nodejs24-npmUpgrade nodejs24-debugsourceUpgrade nodejs24-libs-debuginfoUpgrade nodejs24-debuginfoUpgrade nodejs-debuginfoUpgrade v8-12.4-develUpgrade nodejs24Upgrade nodejs-develUpgrade nodejs-packaging-bundlerUpgrade nodejs-libs-debuginfoUpgrade npmUpgrade v8-13.6-develUpgrade nodejs24-full-i18nUpgrade nodejs24-libs | Sep 7, 2026 | Sep 4, 2026 |
| Rocky_linux | — | Upgrade v8-12.4-develUpgrade nodejs22-debuginfoUpgrade npmUpgrade nodejs-npmUpgrade nodejs24-libs-debuginfoUpgrade nodejs24-full-i18nUpgrade nodejs-debuginfoUpgrade nodejs24-debuginfoUpgrade nodejs-full-i18nUpgrade nodejs24-debugsourceUpgrade nodejs24-develUpgrade nodejs22-debugsourceUpgrade nodejs-debugsourceUpgrade nodejsUpgrade nodejs24Upgrade nodejs24-libsUpgrade nodejs-libs-debuginfoUpgrade v8-13.6-develUpgrade nodejs-develUpgrade nodejs-libs | Oct 5, 2026 | Oct 1, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub