undici vulnerable to downstream response desynchronization via retry interceptor
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NodeJS | undici | before 6.28.0; 7.0.0 to before 7.29.0; 8.0.0 to before 8.9.0 | 6.28.0, 7.29.0, 8.9.0 | Patch available | CNA |
| — | undici (npm) | before 6.28.0 | 6.28.0 | Patch available | GHSA-8xcm-r25x-g524 |
| — | undici (npm) | 7.0.0 to before 7.29.0 | 7.29.0 | Patch available | GHSA-8xcm-r25x-g524 |
| — | undici (npm) | 8.0.0 to before 8.9.0 | 8.9.0 | Patch available | GHSA-8xcm-r25x-g524 |
- undici VendorNodeJS Affected before 6.28.0; 7.0.0 to before 7.29.0; 8.0.0 to before 8.9.0 Fixed in 6.28.0, 7.29.0, 8.9.0 Patch available CNA
- undici (npm) Vendor— Affected before 6.28.0 Fixed in 6.28.0 Patch available GHSA-8xcm-r25x-g524
- undici (npm) Vendor— Affected 7.0.0 to before 7.29.0 Fixed in 7.29.0 Patch available GHSA-8xcm-r25x-g524
- undici (npm) Vendor— Affected 8.0.0 to before 8.9.0 Fixed in 8.9.0 Patch available GHSA-8xcm-r25x-g524
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* | before 6.28.0; 7.0.0 to before 7.29.0; 8.0.0 to before 8.9.0 | Vulnerable | NodeJS |
- cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* Versions before 6.28.0; 7.0.0 to before 7.29.0; 8.0.0 to before 8.9.0 Vulnerable ·NodeJS
Remediation
- Fix · CNA undici (undici) Fixed in 6.28.0, 7.29.0, 8.9.0
- Fix · GHSA-8xcm-r25x-g524 undici (npm) Fixed in 6.28.0 Advisory →
- Fix · GHSA-8xcm-r25x-g524 undici (npm) Fixed in 7.29.0 Advisory →
- Fix · GHSA-8xcm-r25x-g524 undici (npm) Fixed in 8.9.0 Advisory →
Red Hat 2 advisories
- RHSA-2026:48537 Released 2026-07-30 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images nodejs24-1:24.18.1-0.1.hum1@aarch64, nodejs24-1:24.18.1-0.1.hum1@src, nodejs24-1:24.18.1-0.1.hum1@x86_64 +14
- RHSA-2026:48273 Released 2026-07-29 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images nodejs26-1:26.5.1-1.5.hum1@aarch64, nodejs26-1:26.5.1-1.5.hum1@src, nodejs26-1:26.5.1-1.5.hum1@x86_64 +14
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
undici 6.28.0, 7.29.0, 8.9.0
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-13931 undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fieldsPriority LOW 29
- TI-2026-12768 undici vulnerable to CRLF Injection via blob-like body 'type' propertyPriority LOW 24
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Hardened Images | Affected | No fix planned: Will not fix |
| Red Hat Hardened Images | Fixed | RHSA-2026:48273, RHSA-2026:48537 |
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2026-16728
- 2026-10-03 Alias added: GHSA-8xcm-r25x-g524
References
Advisory 3
Other 11
- https://github.com/nodejs/undici/commit/1b5a5312c3a7d7a30c31bf0d000b39a8a2531e1c
- https://github.com/nodejs/undici/commit/2b3f749336d356bbbc50192f87f6cf7bc714721a
- https://github.com/nodejs/undici/commit/4a9dafb16ff43880cf590e6d9c2aeee25fbff6d7
- https://github.com/nodejs/undici/commit/4fd5a0c61e627f928b7003adc4ffe1e55ec63420
- https://github.com/nodejs/undici/commit/cba3a52ac2e7abcc4e656d82af8579ea82c2bb9e
- https://github.com/nodejs/undici/commit/e11a68ed4ff345c79402476f7a00d473443e318d
- https://hackerone.com/reports/3828685
- https://github.com/nodejs/undici
- https://github.com/nodejs/undici/releases/tag/v6.28.0
- https://github.com/nodejs/undici/releases/tag/v7.29.0
- https://github.com/nodejs/undici/releases/tag/v8.9.0
More NodeJS Undici vulnerabilities
- TI-2026-01215 undici is vulnerable to Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') CVSS 3.1CRITICAL 9.8
- TI-2022-16376 `undici.request` vulnerable to SSRF using absolute URL on `pathname` CVSS 3.1CRITICAL 9.8
- TI-2023-09734 CRLF Injection in Nodejs ‘undici’ via host CVSS 3.1MEDIUM 6.5
- TI-2022-13193 CRLF injection in request headers CVSS 3.1MEDIUM 6.5
- TI-2022-16375 CRLF Injection in Nodejs ‘undici’ via Content-Type CVSS 3.1MEDIUM 5.3
- TI-2022-13194 Uncleared cookies on cross-host/cross-origin redirect in undici CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-16728 · CVE Program
- CVE-2026-16728 · NVD
- FIRST EPSS
- GHSA-8xcm-r25x-g524 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-16728 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences