CVE-2026-12151Nodejs Undici
High 7.5 No auth needed
Follow: this CVE · Nodejs · Nodejs Undici We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 17, 2026
- Updated
- Sep 11, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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 to do
- Apply the vendor's security update for Undici.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | undici |
< 6.27.0 |
6.27.0 |
npm install undici@6.27.0 |
| npm | undici |
≥ 7.0.0 < 7.28.0 |
7.28.0 |
npm install undici@7.28.0 |
| npm | undici |
≥ 8.0.0 < 8.5.0 |
8.5.0 |
npm install undici@8.5.0 |
Per OSV / GitHub Advisories (GHSA-vxpw-j846-p89q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nodejs | undici | ≥ 6.17.0 < 6.27.0 |
| nodejs | undici | ≥ 7.0.0 < 7.28.0 |
| nodejs | undici | ≥ 8.0.0 < 8.5.0 |
Official advisories
- Security update for nodejs16 · SUSE · SUSE-SU-2026:4355-1 · Sep 28, 2026 Critical
- Security update for nodejs18 · SUSE · SUSE-SU-2026:4261-1 · Sep 18, 2026 Critical
- Security update for nodejs18 · SUSE · SUSE-SU-2026:4248-1 · Sep 17, 2026 Critical
- Red Hat Security Advisory: nodejs:22 security update · Red Hat · RHSA-2026:52399 · Aug 10, 2026 High
- Red Hat Security Advisory: nodejs:22 security, bug fix, and enhancement update · Red Hat · RHSA-2026:41947 · Jul 23, 2026 High
- Red Hat Security Advisory: nodejs:24 security, bug fix, and enhancement update · Red Hat · RHSA-2026:39868 · Jul 16, 2026 High
Also: SUSE (+10), Red Hat (+7)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- cna.openjsf.org Vendor Advisory
- github.com Vendor Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com