CVE-2026-19534
Last modified
CVE-2026-19534 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Undici | >= 6.7.0, < 6.28.1 |
| Nodejs | Undici | >= 7.0.0, < 7.29.1 |
| Nodejs | Undici | >= 8.0.0, < 8.10.2 |
References
- https://cna.openjsf.org/security-advisories.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-19534?
How severe is CVE-2026-19534?
How do I fix CVE-2026-19534?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-19517Improper Validation of Specified Quantity in Input and Alloc…6.5
- CVE-2026-19518Improper Validation of Specified Quantity in Input vulnerabi…6.5
- CVE-2026-19519A flaw was found in claircore's RPM package scanner. Crafted…4.3
- CVE-2026-1952Delta Electronics AS320T has denial of service via the undoc…7.5
- CVE-2026-1953Nukegraphic CMS v3.1.2 contains a stored cross-site scriptin…8.2
- CVE-2026-19532Improper Limitation of a Pathname to a Restricted Directory …5.3
- CVE-2026-19535Nozomi Networks Labs identified a CWE-352: Cross-Site Reques…8.6
- CVE-2026-19538The BLOCKED access control list items that are evaluated to …7.5
- CVE-2026-19539Authorization Bypass Through User-Controlled Key in the tick…8.6
- CVE-2026-19542Calling tdelete on a sufficiently deep tree in the GNU C Lib…5.6
- CVE-2026-19543IBM Common Licensing Agent 9.0, Agent 9.0.0.1, Agent 9.0.0.2…6.2
- CVE-2026-19546A flaw was found in DBI. This is a fix for a partial fix for…8.8
Are you affected by CVE-2026-19534?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
