Vulnerability
CVE-2026-18540
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.
51 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2023-2026-3107
Amazon Linux 2023 - ALAS2023-2026-3107: Important priority package update for nodejs24
-
ALAS2023-2026-3277
Amazon Linux 2023 - ALAS2023-2026-3277: Important priority package update for nodejs22
-
AZL-99939
CVE-2026-18540 affecting package nodejs 24.22.3-1
- CGA-23wp-rp6f-f6gm
- CGA-2fjj-7q89-3p6v
- CGA-42p4-6q9w-ch63
- CGA-4823-3r9j-fm3f
- CGA-4rpq-9q3m-h54j
- CGA-5vmh-r8x8-79h9
- CGA-67hw-mp7x-whx8
- CGA-68cq-862r-4jwm
- CGA-69pc-3j4j-5wcv
- CGA-6g7w-mm62-2p9q
- CGA-79g6-p85g-xcch
- CGA-854c-qqvw-f2h5
- CGA-8g45-f4q4-rf4h
- CGA-8vch-qrp9-p593
- CGA-cm4c-6pjh-7c4v
- CGA-cp3p-3g48-8v56
- CGA-f2hc-m49p-ggcm
- CGA-fxqw-f32h-wgqx
- CGA-g5wf-g9qf-crgp
- CGA-gh66-pj75-rqg5
- CGA-gh8q-c9q2-4g9x
- CGA-h2rm-mj6r-9h9x
- CGA-h6qq-m68c-4vc4
- CGA-hf3w-7xv5-c9qx
- CGA-hx65-frqx-jj9p
- CGA-j3xx-wjv4-78qc
- CGA-m236-gc5w-8gg4
- CGA-m2f7-vc88-h3g4
- CGA-m3f2-vqgg-f5xj
- CGA-mvqw-4hhv-m3c4
- CGA-p47m-cvvf-63pg
- CGA-p7p5-2r3q-hwvx
- CGA-pcjr-g2x7-w6c3
- CGA-q7x8-j7vg-37mq
- CGA-r7fp-jr42-p89r
- CGA-vx73-7wfg-g674
- CGA-w979-vr64-gfmw
- CGA-wq6q-m36v-c26p
- CGA-ww76-vvhh-f2h6
- CGA-xvrv-gm44-6739
-
DEBIAN-CVE-2026-18540
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…
-
GHSA-r53p-7pc4-xj5r
undici vulnerable to downstream response splitting via retry interceptor
-
RHSA-2026:66008
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:66605
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:71017
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHVEX-CVE-2026-18540
undici: undici: HTTP response splitting via retry interceptor
-
SUSEVEX-CVE-2026-18540
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…
-
UBUNTU-CVE-2026-18540
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…