CVEfocus › CVE database › CVE-2026-18540

CVE-2026-18540undici vulnerable to downstream response splitting via retry interceptor

CVSS 3.7 LowEPSS 0.3% (higher than 16% of CVEs)Published 2026-09-04Updated 2026-09-04Assigner: openjs

undici's retry interceptor can append the body of a ranged retry response to bytes already delivered from an earlier partial response while still presenting the original response's status and headers. This happens when an upstream server delivers part of a body without a trustworthy resume checkpoint, for example a non-success response whose headers were already sent or a partial-content response with an unusable content range, then closes the connection and answers the resumed range request with more bytes. As a result the response body can be longer than the Content-Length that the application observes. An application that relays such a response to a downstream HTTP/1.1 peer without normalizing the framing can emit a body that exceeds the forwarded Content-Length, and the excess bytes can be interpreted as the start of a following response, which enables downstream response splitting or desynchronization. Exploitation requires an attacker-controlled upstream server and an application that forwards the response through a framing-sensitive path. This affects undici versions before 6.28.1, from 7.0.0 up to 7.29.1, and from 8.0.0 up to 8.10.2. Users should upgrade to undici 6.28.1, 7.29.1, or 8.10.2.

CWE-444

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
40Fix pending
2Under investigation

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-18540
Ubuntu 26.04node-undiciUnder investigationUBUNTU-CVE-2026-18540
Ubuntu 24.04node-undiciUnder investigationUBUNTU-CVE-2026-18540
Debian 14node-undiciFixed8.10.2+dfsg+~cs3.2.2-1DEBIAN-CVE-2026-18540
Debian 13node-undiciFix pendingDEBIAN-CVE-2026-18540
Debian 12node-undiciFix pendingDEBIAN-CVE-2026-18540
Red Hat Enterprise Linux 10grafanaFix pending
Fix deferred
Red Hat Enterprise Linux 10grafana-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-develFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-docsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-npmFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs22Fix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24Fix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-develFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-docsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-npmFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26Fix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26-develFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26-docsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26-npmFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejsFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejs-docsFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejs-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejs-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9npmFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejsFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-develFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-docsFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-nodemonFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-packagingFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFix pending
Fix deferred
Red Hat Enterprise Linux 8npmFix pending
Fix deferred
Red Hat Enterprise Linux 8v8-12.4-develFix pending
Fix deferred
Red Hat Enterprise Linux 8v8-13.6-develFix pending
Fix deferred
npm libraryundiciFixed8.10.2GHSA-r53p-7pc4-xj5r

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.