Cloudanix VulnDB

CVE-2026-19534

High · 7.5

CVSS

7.5

EPSS

0.4%

Published

Sep 4, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

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

  1. Identify an application that initiates an unauthenticated WebSocket connection using an affected undici version.
  2. Position a server under attacker control or intercept traffic to return a 101 response with an unexpected Sec-WebSocket-Protocol header.
  3. Trigger the handshake; the unhandled TypeError inside the microtask propagates and terminates the Node.js process.
  4. 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