Missing Release of Resource after Effective Lifetime in undici - CVE-2026-18149
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by accumulating pending promises and streams in applications using undici.
The vulnerability exists due to missing release of response body resources in undici's RetryHandler when a retried request receives a non-retryable response after a truncated response. A remote attacker can operate a malicious server that repeatedly returns this response sequence to leave the application's original response body pending indefinitely and cause a denial of service.
Reads such as response.body.text() hang, and bodyTimeout does not fire for the orphaned response body.
Affected software
Fedora
nodejs-undici
How to mitigate CVE-2026-18149
nodejs-undici - addressed in versions 7.29.0-3.fc43, 7.29.0-3.fc44, 7.29.0-3.fc45