CVE-2026-1526Nodejs 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
- Mar 12, 2026
- Updated
- Sep 4, 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
The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. When a WebSocket connection negotiates the permessage-deflate extension, the client decompresses incoming compressed frames without enforcing any limit on the decompressed data size. A malicious WebSocket server can send a small compressed frame (a "decompression bomb") that expands to an extremely large size in memory, causing the Node.js process to exhaust available memory and crash or become unresponsive.
The vulnerability exists in the PerMessageDeflate.decompress() method, which accumulates all decompressed chunks in memory and concatenates them into a single Buffer without checking whether the total size exceeds a safe threshold.
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.24.0 |
6.24.0 |
npm install undici@6.24.0 |
| npm | undici |
≥ 7.0.0 < 7.24.0 |
7.24.0 |
npm install undici@7.24.0 |
Per OSV / GitHub Advisories (GHSA-vrm6-8vpv-qv8q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nodejs | undici | < 6.24.0 |
| nodejs | undici | ≥ 7.0.0 < 7.24.0 |
Official advisories
- Red Hat Security Advisory: nodejs:22 security update · Red Hat · RHSA-2026:7983 · Apr 15, 2026 High
- Red Hat Security Advisory: nodejs24 security update · Red Hat · RHSA-2026:7675 · Apr 13, 2026 High
- Red Hat Security Advisory: nodejs:24 security update · Red Hat · RHSA-2026:7670 · Apr 13, 2026 High
Also: Red Hat (+5)
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
- datatracker.ietf.org Technical Description
- github.com Vendor Advisory
- hackerone.com Permissions Required
- 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