WebSocket Client Vulnerability in Undici Affecting Node.js Applications
CVE-2026-85024

5.9MEDIUM

Key Information:

Vendor

Undici

Status
Vendor
CVE Published:
4 September 2026

What is CVE-2026-85024?

The undici library contains a vulnerability in its WebSocket client that affects error handling when processing compressed payloads. Specifically, if a compressed payload exceeds the 128 MiB decompressed limit and includes a malformed DEFLATE byte, it triggers a data error in the zlib inflate stream. Unfortunately, as the error listener is removed during size-limit cleanup, this results in an unhandled error that causes the Node.js process to crash. This vulnerability can be exploited remotely and does not require authentication, allowing attackers to repeatedly crash the process by manipulating payload sizes, which poses a significant risk to applications relying on undici. Users are advised to upgrade to secure versions: 6.28.1, 7.29.1, or 8.10.2 to mitigate this issue.

Affected Version(s)

undici 6.25.0 < 6.28.1

undici 7.28.0 < 7.29.1

undici 8.1.0 < 8.10.2

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

mcollina
krsecu
UlisesGascon
.