PT-2026-2950 · Node.Js · Undici
Mcollina
·
Published
2026-01-01
·
Updated
2026-05-06
·
CVE-2026-22036
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Undici versions prior to 7.18.0
Undici versions prior to 6.23.0
Description
Undici is an HTTP/1.1 client for Node.js. A malicious server can insert thousands of compression steps due to an unbounded number of links in the decompression chain and the default
maxHeaderSize, leading to high CPU usage and excessive memory allocation. The fetch() API supports chained HTTP encoding algorithms for response content, which is also supported by the undici decompress interceptor.Recommendations
Upgrade to version 7.18.0 or 6.23.0.
As a workaround, apply an undici interceptor to filter long
Content-Encoding sequences manually.Exploit
Fix
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Undici