Intel

AIKIDO-2026-159850

undici is vulnerable to Denial of Service

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

72

CVE Score

High

Denial of Service

Are you affected? Scan for Free

TL;DR

A malicious HTTP server can crash the Node.js process by returning a response with more than five content codings and closing the connection before sending the body. fetch() rejects such responses, but the internal response stream is created before the content-encoding limit check and is left without an error listener or abort. The early close then raises an unhandled error on that orphaned stream, which terminates the process even if the application catches the fetch() rejection. The fix validates the content-encoding chain before creating the body stream and aborts the response when the limit is exceeded.

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 fetch() to request resources from servers that may be malicious or compromised.

Package

Versions

6.23.0 - 6.29.0

Fixed in 6.29.1

7.18.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 in versions 6.23.0 - 6.29.0, 7.18.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