Intel

AIKIDO-2026-687335

undici is vulnerable to Denial of Service (DoS)

CVE-2026-85024Published Sep 18, 2026
September 18, 2026

59

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The WebSocket permessage-deflate size-limit cleanup removes every listener from the internal zlib inflate stream, including its error listener, while that stream can still emit. A compressed message that crosses the decompressed-payload limit and then contains a malformed DEFLATE byte emits a zlib data error with no listener, which Node.js treats as fatal and terminates the process. Application WebSocket error handlers cannot catch it because the failing object is the internal inflater. The fix keeps an error listener attached during size-limit cleanup.

How do I fix this?

Upgrade the undici library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the WebSocket client with permessage-deflate.

Package

Versions

6.25.0 - 6.28.0

Fixed in 6.28.1

7.28.0 - 7.29.0

Fixed in 7.29.1

8.1.0 - 8.10.1

Fixed in 8.10.2

Background info

undici is vulnerable to Denial of Service (DoS) in versions 6.25.0 - 6.28.0, 7.28.0 - 7.29.0 and 8.1.0 - 8.10.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea