Intel

AIKIDO-2026-634008

undici is vulnerable to Denial of Service (DoS)

CVE-2026-87029Published Oct 19, 2026
October 19, 2026

59

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The decompress interceptor forwards decompressed data to the downstream handler from asynchronous zlib stream callbacks without catching exceptions. If the downstream handler throws, for example the dump interceptor when a response exceeds its maxSize, the exception escapes as an uncaught exception and terminates the Node.js process. A malicious or compromised HTTP server can trigger this with a small compressed body that decompresses past the limit. The fix converts downstream handler exceptions into per-request errors.

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 compose interceptors.decompress() with a response handler that can throw, such as interceptors.dump() with a maxSize.

Package

Versions

7.15.0 - 7.30.0

Fixed in 7.30.1

8.0.0 - 8.12.1

Fixed in 8.12.2

Background info

undici is vulnerable to Denial of Service (DoS) in versions 7.15.0 - 7.30.0 and 8.0.0 - 8.12.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