What’s Vulnerable › Vulnerabilities

CVE-2026-22036: Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion

Description

Undici is an HTTP/1.1 client for Node.js. Prior to 7.18.0 and 6.23.0, the number of links in the decompression chain is unbounded and the default maxHeaderSize allows a malicious server to insert thousands compression steps leading to high CPU usage and excessive memory allocation. This vulnerability is fixed in 7.18.0 and 6.23.0.

Affected products

How to fix

Upgrade to a fixed version: undici 6.23.0, 7.18.2; Npm Undici 7.18.2, 6.23.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-22036 or the next vulnerability affects your stack