
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-12151 is a denial-of-service vulnerability in the undici WebSocket client caused by unbounded accumulation of WebSocket continuation frames. The flaw was disclosed on June 17, 2026, and affects undici versions 6.17.0 through 6.26.x, 7.0.0 through 7.27.x, and 8.0.0 through 8.4.x. It carries a CVSS v3.1 base score of 7.5 (High) (Github Advisory, Red Hat CVE). Downstream Red Hat products including RHEL 8/9/10, OpenShift Container Platform 4, OpenShift Pipelines, Red Hat Developer Hub, and others are also affected (Red Hat Bugzilla).
The root cause is classified as CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling). Per the WebSocket protocol (RFC 6455 §5.4), a message may be split into multiple continuation frames. Undici enforces maxPayloadSize on the cumulative byte count of fragments but imposes no limit on the number of continuation frames themselves. A malicious or compromised WebSocket server can therefore stream an arbitrarily large number of small or empty continuation frames — each individually passing both per-frame and cumulative-size validation — causing the client process to accumulate unbounded memory until it is exhausted. Exploitation requires only that the vulnerable application can be induced to connect to an attacker-controlled WebSocket endpoint using new WebSocket(...) or the WebSocketStream API (Github Advisory).
Successful exploitation results in memory exhaustion in the undici client process, causing the application to crash or become unresponsive — a complete availability impact with no confidentiality or integrity loss. Any Node.js application using undici's WebSocket client that can be directed to connect to an attacker-controlled endpoint is at risk, including server-side services that proxy or relay WebSocket connections. The broad adoption of undici as a bundled HTTP client in Node.js and its inclusion in numerous Red Hat enterprise products significantly widens the potential blast radius (Github Advisory, Red Hat Bugzilla).
maxPayloadSize threshold).CONTINUATION frames without ever sending a final frame with the FIN bit set, causing the undici client to buffer each fragment indefinitely.FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory) coinciding with an active WebSocket session.0x0 continuation frames) observed in network captures without a corresponding FIN frame./var/log/messages or dmesg referencing the Node.js process; sudden process restarts of Node.js-based services.Upgrade undici to a patched version: v6.27.0, v7.28.0, or v8.5.0. No configuration-based workaround is available — the fix must be applied through an upgrade (Github Advisory). As a defense-in-depth measure, applications should restrict WebSocket connections to trusted, allowlisted endpoints only, and avoid allowing user-controlled input to determine WebSocket server URLs. Red Hat has issued advisories for affected products including RHEL 8/9/10 and OpenShift; users of those platforms should apply the relevant SUSE and Red Hat package updates as they become available (Red Hat Bugzilla, SUSE Advisory).
The advisory was published by maintainer mcollina on the nodejs/undici GitHub repository and credited researchers lpinca (reporter), Nadav0077 (finder), and UlisesGascon (remediation reviewer) (Github Advisory). Red Hat classified the severity as "Important" and opened tracking across a wide range of enterprise products. The vulnerability drew routine coverage from security aggregators and Linux distribution security lists (SUSE, openSUSE, Debian), reflecting its broad supply-chain reach through Node.js bundling of undici.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."