7.5High

Nodejs Undici

CVE-2026-12151

Impact: The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame and cumulative-size validation, collectively causing unbounded memory growth in the client process. The result is memory exhaustion and a denial of service. Affected applications are those using the undici WebSocket client (new WebSocket(...)) or the WebSocketStream API that can be induced to connect to an attacker-controlled or compromised WebSocket endpoint. All releases starting at undici 6.17.0 are affected. Patches: Upgrade to undici >= 6.26.0, >= 7.28.0, or >= 8.5.0. Workarounds: No workaround is available. The fix must be applied through an upgrade.

What this means for your business

  • It affects Nodejs Undici. It matters if your company, or a supplier that handles your data, runs it.
  • An attacker can use it remotely, over a network, without a login, and without anyone at your company clicking anything.
  • FIRST's prediction model gives it a 0.8% chance of attack attempts being seen in the next 30 days, ranking above 54% of all known flaws.

What to do

  1. 1Check whether your company or your suppliers run Nodejs Undici, and which version. The affected versions are listed further down this page.
  2. 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.

Not sure if your company is exposed?

Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.

Scoring

CVSS
7.5 (v3.1)
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb

Dates

Published
2026-06-17
Last modified
2026-09-11
Sources
NVD

Affected products

  • Nodejs Undici6.17.0 - 6.27.0, 7.0.0 - 7.28.0, 8.0.0 - 8.5.0

As listed in the NVD configuration data. Not a statement about your estate.

References