Vulnerability
CVE-2026-18149
undici's retry handler can leave an already-exposed response body pending forever. When a server returns a successful response that declares a Content-Length, sends only part of the body, and closes the connection, the retry handler retries the request. If the retry returns a non-retryable status such as 400, the handler forwards that new response downstream and replaces its internal response stream, but the original response body that the application still holds is never ended or destroyed. As a result calls that read that body never settle, and the configured body timeout does not fire because its timer is tied to the connection parser rather than the orphaned body. An attacker-controlled server can trigger this with two short responses without keeping a connection open, and repeated requests accumulate pending promises and streams that can exhaust application concurrency or memory. This affects undici versions from 7.11.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.
43 advisories report this vulnerability, across 11 ecosystems.
Advisories
-
ALAS2023-2026-3107
Amazon Linux 2023 - ALAS2023-2026-3107: Important priority package update for nodejs24
-
AZL-99942
CVE-2026-18149 affecting package nodejs for versions less than 24.21.0-1
- CGA-2jrr-3fp8-rg7q
- CGA-532f-9wh5-4w88
- CGA-5v4v-86jf-fxhh
- CGA-75mf-gmvg-qcq8
- CGA-7p8p-mvjf-qcr2
- CGA-8pmc-mfpq-fvmx
- CGA-8pmm-mghr-cwh8
- CGA-9397-538f-wh2f
- CGA-9575-fp43-ffp9
- CGA-c594-qr85-xgm7
- CGA-c5jj-hh87-88qg
- CGA-ff4f-f5cw-5cm3
- CGA-h6c3-xpx9-wc2h
- CGA-h8cm-r4cp-m3gp
- CGA-hq48-5w79-h8j5
- CGA-hrwx-jgwj-mq7x
- CGA-jm45-q6fr-23cw
- CGA-jwg9-cv82-c379
- CGA-m673-4v72-h3m3
- CGA-m9v6-jjfj-ww7p
- CGA-mmj7-hwpx-f42h
- CGA-mvqm-g2mw-qfrx
- CGA-p3rx-c8c6-mg4w
- CGA-q329-76xr-w2hx
- CGA-q355-hqxv-c5rx
- CGA-q934-5hvc-928r
- CGA-vh63-fmr6-2f9p
- CGA-vrf3-89wf-82x8
- CGA-w4f4-pmvj-wr59
- CGA-xgvh-m2x7-6gv7
-
DEBIAN-CVE-2026-18149
undici's retry handler can leave an already-exposed response body pending forever. When a server returns a successful response that declares a Content-Length, sends only part of the body, and closes the connection, the…
-
FEDORA-2026-67f78e732b
nodejs-undici-7.29.0-3.fc43
-
FEDORA-2026-90bb0fcd50
nodejs-undici-7.29.0-3.fc44
-
GHSA-pmjh-fq2x-6v4x
undici vulnerable to Denial of Service via orphaned RetryHandler response body
-
RHSA-2026:54389
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:54438
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:66008
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHVEX-CVE-2026-18149
undici: undici: Denial of Service due to orphaned response body in retry handler
-
SUSEVEX-CVE-2026-18149
undici's retry handler can leave an already-exposed response body pending forever. When a server returns a successful response that declares a Content-Length, sends only part of the body, and closes the connection, the…
-
UBUNTU-CVE-2026-18149
undici's retry handler can leave an already-exposed response body pending forever. When a server returns a successful response that declares a Content-Length, sends only part of the body, and closes the connection, the…
-
openSUSE-SU-2026:12570-1
corepack24-24.22.3-1.1 on GA media