CVEfocus › CVE database › CVE-2026-18149

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

CVSS 5.9 MediumEPSS 0.5% (higher than 34% of CVEs)Published 2026-09-04Updated 2026-09-04Assigner: openjs

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.

CWE-772

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
5Fix pending
2Under investigation
35Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-undiciFix pendingUBUNTU-CVE-2026-18149
Ubuntu 26.04node-undiciUnder investigationUBUNTU-CVE-2026-18149
Ubuntu 24.04node-undiciUnder investigationUBUNTU-CVE-2026-18149
Debian 14node-undiciFixed8.10.2+dfsg+~cs3.2.2-1DEBIAN-CVE-2026-18149
Debian 13node-undiciFix pendingDEBIAN-CVE-2026-18149
Debian 12node-undiciFix pendingDEBIAN-CVE-2026-18149
Red Hat Enterprise Linux 10grafanaFix pending
Fix deferred
Red Hat Enterprise Linux 10grafana-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejsNot affected
Red Hat Enterprise Linux 10nodejs-develNot affected
Red Hat Enterprise Linux 10nodejs-docsNot affected
Red Hat Enterprise Linux 10nodejs-full-i18nNot affected
Red Hat Enterprise Linux 10nodejs-libsNot affected
Red Hat Enterprise Linux 10nodejs-npmNot affected
Red Hat Enterprise Linux 10nodejs22Not affected
Red Hat Enterprise Linux 10nodejs24Not affected
Red Hat Enterprise Linux 10nodejs24-develNot affected
Red Hat Enterprise Linux 10nodejs24-docsNot affected
Red Hat Enterprise Linux 10nodejs24-full-i18nNot affected
Red Hat Enterprise Linux 10nodejs24-libsNot affected
Red Hat Enterprise Linux 10nodejs24-npmNot affected
Red Hat Enterprise Linux 10nodejs26Not affected
Red Hat Enterprise Linux 10nodejs26-develNot affected
Red Hat Enterprise Linux 10nodejs26-docsNot affected
Red Hat Enterprise Linux 10nodejs26-full-i18nNot affected
Red Hat Enterprise Linux 10nodejs26-libsNot affected
Red Hat Enterprise Linux 10nodejs26-npmNot affected
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Enterprise Linux 9nodejs-docsNot affected
Red Hat Enterprise Linux 9nodejs-full-i18nNot affected
Red Hat Enterprise Linux 9nodejs-libsNot affected
Red Hat Enterprise Linux 9npmNot affected
Red Hat Enterprise Linux 8nodejsNot affected
Red Hat Enterprise Linux 8nodejs-develNot affected
Red Hat Enterprise Linux 8nodejs-docsNot affected
Red Hat Enterprise Linux 8nodejs-full-i18nNot affected
Red Hat Enterprise Linux 8nodejs-libsNot affected
Red Hat Enterprise Linux 8nodejs-nodemonNot affected
Red Hat Enterprise Linux 8nodejs-packagingNot affected
Red Hat Enterprise Linux 8nodejs-packaging-bundlerNot affected
Red Hat Enterprise Linux 8npmNot affected
Red Hat Enterprise Linux 8v8-12.4-develNot affected
Red Hat Enterprise Linux 8v8-13.6-develNot affected
npm libraryundiciFixed8.10.2GHSA-pmjh-fq2x-6v4x

What the vendor says

As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.