
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-18149 is a Denial of Service vulnerability in undici's RetryHandler that can leave an already-exposed response body pending indefinitely, exhausting application concurrency or memory. It affects undici versions 7.11.0 up to (but not including) 7.29.1, and 8.0.0 up to (but not including) 8.10.2. The vulnerability was published on September 4, 2026, and has a CVSS v3.1 base score of 5.9 (Medium) (GitHub Advisory, Red Hat).
The root cause is a missing release of resource after its effective lifetime (CWE-772), combined with improper update of reference count (CWE-911). When a server returns a successful response declaring a Content-Length, sends only part of the body, and closes the connection, undici's RetryHandler retries the request. If the retry returns a non-retryable status (e.g., HTTP 400), the handler forwards the new response downstream and replaces its internal response stream — but the original response body held by the application is never ended or destroyed. Critically, the configured bodyTimeout does not fire because its timer is tied to the connection parser rather than the orphaned body, meaning calls such as response.body.text() hang indefinitely. An attacker-controlled server can trigger this condition with just two short responses without maintaining a persistent connection (GitHub Advisory).
Repeated exploitation causes pending promises and streams to accumulate in the affected application, which can exhaust application concurrency or memory, resulting in a Denial of Service condition. There is no confidentiality or integrity impact — the vulnerability is limited to availability. Applications using undici as an HTTP client that communicate with attacker-controlled or compromised upstream servers are at risk (GitHub Advisory, Red Hat).
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires the attacker to control or compromise a server that the vulnerable undici client communicates with, which raises the attack complexity (rated High). The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable (GitHub Advisory, Red Hat).
Content-Length header, but send only a partial body before closing the connection, causing undici's RetryHandler to trigger a retry.response.body.text() calls that never settle); application threads or async tasks blocked indefinitely.bodyTimeout errors logged despite requests appearing to stall.Users should upgrade to undici version 7.29.1 (for the v7 branch) or 8.10.2 (for the v8 branch), which contain the official patches. As a temporary workaround prior to upgrading, impose an independent request deadline at the application level and explicitly destroy the response body when that deadline expires — note that bodyTimeout alone does not prevent this issue. Additionally, monitoring for unusual memory consumption or concurrency exhaustion patterns can help detect exploitation attempts during the upgrade window (GitHub Advisory, Red Hat).
The advisory was published by maintainer mcollina on the GitHub Security Advisory page (GHSA-pmjh-fq2x-6v4x) on September 4, 2026, with UlisesGascon credited as remediation reviewer. Red Hat has tracked the issue via Bugzilla. No significant broader media coverage or notable community commentary beyond the official advisory has been observed at this time (GitHub Advisory, Red Hat).
Fix availability across major Linux distributions and their releases.
bookworm
node-undici
sid
node-undici: 8.10.2+dfsg+~cs3.2.2-1
trixie
node-undici
devel
node-undici
noble
node-undici
noble (esm-apps)
node-undici
resolute
node-undici
resolute (esm-apps)
node-undici
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."