Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resourc
- Severity:
- Medium
Description
The fetch() API supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., Content-Encoding: gzip, br). This is also supported by the undici decompress interceptor.
Recommendation
Update the undici package to the latest compatible version. Followings are version details:
Affected version(s): **< 6.23.0 >= 7.0.0, < 7.18.2** Patched version(s): **6.23.0 7.18.2**
References
Related Issues
- Undici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoS - CVE-2026-2581
- Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression - CVE-2026-1526
- Strapi Upload Plugin MIME Validation Bypass via Content API - CVE-2026-22707
- Undici has an HTTP Request/Response Smuggling issue - CVE-2026-1525
You might also like:
- Tags:
- npm
- undici
Anything's wrong? Let us know Last updated on January 22, 2026


