{"id":"CVE-2026-18540","published":"2026-09-04T17:15:50Z","modified":"2026-09-04T17:50:13Z","title":"undici vulnerable to downstream response splitting via retry interceptor","vendor":"undici","product":"undici","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00309,"percentile":0.24362,"provenance":"source"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-r53p-7pc4-xj5r","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":4.87},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"undici","affectedVersions":[{"vendor":"undici","product":"undici","versions":["< 6.28.1",">= 7.0.0, < 7.29.1",">= 8.0.0, < 8.10.2"]}],"fixedVersions":[{"vendor":"undici","product":"undici","versions":["6.28.1","7.29.1","8.10.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-04T17:50:05.851866Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":["<6.28.1",">=7.0.0, <7.29.1",">=8.0.0, <8.10.2"],"patched":["6.28.1","7.29.1","8.10.2"],"from":["GHSA-r53p-7pc4-xj5r"],"provenance":"source"}],"summary":{"text":"The undici HTTP client'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 status and headers, so the body can exceed the observed Content-Length. An attacker who controls an upstream server can exploit this when an application relays such a response over HTTP/1.1 without normalizing its framing, letting excess bytes be read as the start of a following response (response splitting or desynchronization).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:19Z"},"euvd":{"id":"EUVD-2026-71661","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-16728","published":"2026-07-29","fixed":"8.9.0","kev":false},{"cve":"CVE-2026-16729","published":"2026-07-29","fixed":"8.9.0","kev":false,"link":{"from":"CVE-2026-16729","to":"CVE-2026-18540","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"6.28.0","toFixed":"6.28.1","daysApart":37}]}},{"cve":"CVE-2026-18149","published":"2026-09-04","fixed":"8.10.2","kev":false},{"cve":"CVE-2026-18540","published":"2026-09-04","fixed":"8.10.2","kev":false},{"cve":"CVE-2026-19534","published":"2026-09-04","fixed":"8.10.2","kev":false},{"cve":"CVE-2026-84890","published":"2026-09-04","fixed":"8.10.2","kev":false},{"cve":"CVE-2026-84933","published":"2026-09-04","fixed":"8.10.2","kev":false}],"package":"npm:undici"}}