CVE-2026-19534
High · 7.5CVSS
7.5
EPSS
0.4%
Published
Sep 4, 2026
CISA due date
—
Cloudanix analysis
A flaw in how some Red Hat software handles certain web connections can let a remote attacker shut down the entire application without any login, causing sudden outages until the software is updated.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Undici WebSocket client performs a null dereference when validating a Sec-WebSocket-Protocol header received during the opening handshake against an empty requested list, producing an uncaught TypeError inside a microtask that terminates the Node.js process.
Why it matters to the business
Applications relying on WebSocket connections to external or untrusted endpoints can be remotely terminated without authentication, causing denial of service and operational disruption; the issue is present across multiple Red Hat Node.js and application stacks with remediation deadlines set by RHSA-2026:74609.
How an attack unfolds
An attacker positions a malicious or compromised WebSocket server (or performs a man-in-the-middle attack on plaintext traffic) that returns a 101 Switching Protocols response containing a Sec-WebSocket-Protocol header; undici then dereferences null while processing the header, the resulting uncaught exception crashes the entire Node.js process, and no authentication or prior session is required.
How to fix it
Upgrade undici to 6.28.1, 7.29.1 or 8.10.2 (or later). Apply the corresponding Red Hat fixes: nodejs24 to 24.21.0-1.el10_2, nodejs24-main to 11.19.0-1.24.21.0.1.hum1, nodejs26-main to 26.8.2-0.1.hum1, and the listed automation, observability and RHDH components per RHSA-2026:74609.
How to confirm the fix worked
Confirm the installed undici or Node.js package version meets or exceeds the fixed releases above; attempt a WebSocket connection to a test server that echoes an unsolicited Sec-WebSocket-Protocol header and verify the process no longer crashes.
Typical attack path
- Identify an application that initiates an unauthenticated WebSocket connection using an affected undici version.
- Position a server under attacker control or intercept traffic to return a 101 response with an unexpected Sec-WebSocket-Protocol header.
- Trigger the handshake; the unhandled TypeError inside the microtask propagates and terminates the Node.js process.
- Repeat against other instances to sustain denial of service.
How to detect it
Search Node.js process logs and crash reports for uncaught TypeError exceptions originating from undici WebSocket handshake code; correlate with inbound 101 responses containing Sec-WebSocket-Protocol headers on connections initiated by affected applications.
- TypeError.*null.*subprotocol
- Sec-WebSocket-Protocol
- undici/lib/web/websocket
What your security team should do
- Prioritize patching of internet-facing or externally connected Node.js services within the CISA-style remediation window referenced by RHSA-2026:74609.
- Inventory all Red Hat products listed (ansible-automation, cluster-observability-operator components, grafana12-4-main, nodejs24/26 variants, rhdh) and apply the exact fixed builds provided.
- Disable WebSocket usage or enforce TLS-only connections until patches are deployed where risk is highest.
- Add runtime monitoring for abrupt Node.js process exits correlated with WebSocket activity.
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-121443 svg-sanitizer from 1.1.0 before 1.1.1 contains a denial of service vulnerability that… CWE-248
- CVE-2026-121414 Parse Server before 8.6.110 and 9.0.0 before 9.10.6-alpha.2 fails to contain a… CWE-248
- CVE-2026-121386 FreeRDP before 3.32.2 contains a denial of service vulnerability in WinPR's… CWE-248
- CVE-2026-59004 In multiple locations, there is a possible permission bypass due to an uncaught exception. CWE-248
- CVE-2026-55288 In validEfCfis of SIMRecords.java, there is a possible way to cause a denial of service… CWE-248
- CVE-2026-120215 @fastify/cors is the CORS plugin for the Fastify web framework. CWE-248
- CVE-2026-120216 fastify is a web framework for Node.js. CWE-248
- CVE-2026-101175 Null pointer dereference vulnerability in the ArkWeb module. CWE-248