CVEfocus › CVE database › CVE-2026-16728

CVE-2026-16728undici vulnerable to downstream response desynchronization via retry interceptor

CVSS 4.8 MediumEPSS 0.3% (higher than 14% of CVEs)Published 2026-07-29Updated 2026-07-30Assigner: openjs

undici's retry interceptor can deliver a response whose body length does not match the Content-Length header exposed to the application after a retry or resume of a partial response. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a malicious or faulty upstream can return a partial response with a mismatched framing header, close the socket early, and have the retry interceptor assemble a body of a different length while the original Content-Length stays attached. Applications that use the retry interceptor and forward upstream headers and bodies downstream, such as proxies or gateways, may then emit an invalid HTTP response with a stale Content-Length, leading to downstream response desynchronization, connection hangs, or response corruption. Exploitation requires the retry interceptor enabled, an upstream returning a mismatched partial response, and a downstream forwarder that does not remove or recalculate Content-Length. The issue is fixed in undici 6.28.0, 7.29.0, and 8.9.0.

CWE-444

What to do

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

Debian, 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
3Fix 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-16728
Ubuntu 26.04node-undiciUnder investigationUBUNTU-CVE-2026-16728
Ubuntu 24.04node-undiciUnder investigationUBUNTU-CVE-2026-16728
Debian 14node-undiciFixed8.9.0+dfsg+~cs3.2.0-1DEBIAN-CVE-2026-16728
Debian 13node-undiciFix pendingDEBIAN-CVE-2026-16728
Debian 12node-undiciFix pendingDEBIAN-CVE-2026-16728
npm libraryundiciFixed8.9.0GHSA-8xcm-r25x-g524

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.