Live threats

All CVEs / Nodejs

CVE-2026-1526Nodejs Undici

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 12, 2026
Updated
Sep 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-409, CWE-770
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Undici.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
nodejsundici< 6.24.0
nodejsundici≥ 7.0.0 < 7.24.0

Official advisories

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.