Vulnerability · Published Sep 4, 2026 · Assigned by openjs

CVE-2026-18149undici vulnerable to Denial of Service via orphaned RetryHandler response body

Medium 5.9

In plain English

A medium-severity security flaw in undici from undici. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.5%top 58.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-undicino fix listedDEBIAN-CVE-2026-18149
Debian:13node-undicino fix listedDEBIAN-CVE-2026-18149
Debian:14node-undici8.10.2+dfsg+~cs3.2.2-1DEBIAN-CVE-2026-18149
Ubuntu:24.04:LTSnode-undicino fix listedUBUNTU-CVE-2026-18149
Ubuntu:26.04:LTSnode-undicino fix listedUBUNTU-CVE-2026-18149
Ubuntu:26.10node-undicino fix listedUBUNTU-CVE-2026-18149
npmundici8.10.2GHSA-pmjh-fq2x-6v4x
npmundici7.29.1GHSA-pmjh-fq2x-6v4x

Affected products (as reported)

VendorProductVersions
undici undici 7.11.0 – before 7.29.18.0.0 – before 8.10.2

Weakness: CWE-772 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References