Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-18540

undici: undici: HTTP response splitting via retry interceptor

Overview

Published
4 Sep 2026
Modified
16 Sep 2026
Low CVE
3 Registry packages
62 OS packages
9 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

3.7 · LOW

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Weakness: CWE-444

Affected packages · 3

Packages affected by CVE-2026-18540
EcosystemPackageVulnerableFixed in
npm undici <6.28.1>=7.0.0, <7.29.1>=8.0.0, <8.10.2 6.28.17.29.18.10.2
Seal npm @seal-security/undici >=4.16.0-sp1, <4.16.0-sp999>=6.21.1-sp1, <6.21.1-sp999>=6.23.0-sp1, <6.23.0-sp2>=7.18.2-sp1, <7.18.2-sp999>=7.19.2-sp1, <7.19.2-sp2p2+1 more 4.16.0-sp9996.21.1-sp9996.23.0-sp27.18.2-sp9997.19.2-sp2p2
Seal npm undici >=4.16.0-sp0, <4.16.0-sp999>=6.21.1-sp0, <6.21.1-sp999>=6.23.0-sp0, <6.23.0-sp2>=7.18.2-sp0, <7.18.2-sp999>=7.19.2-sp0, <7.19.2-sp2p2+1 more 4.16.0-sp9996.21.1-sp9996.23.0-sp27.18.2-sp9997.19.2-sp2p2

Open a package to see all its vulnerabilities.

Operating systems · 53 fixes

Azure Linux 1 release · 1 package

fixed 1
nodejs
Azure Linux fixes for CVE-2026-18540
ReleasePackageFixed in
3.0 nodejs 0:24.22.0-1.azl3

Red Hat 8 releases · 2 packages

affected 8
openshift4-ose-monitoring-plugin-rhel9 nodejs
Red Hat fixes for CVE-2026-18540
ReleasePackageFixed in
7 openshift4-ose-monitoring-plugin-rhel9 +1 affected
8 openshift4-ose-monitoring-plugin-rhel9 +1 affected
8 (nodejs:22) nodejs +10 affected
8 (nodejs:24) nodejs +10 affected
9 openshift4-ose-monitoring-plugin-rhel9 +1 affected
9 (nodejs:22) nodejs +4 affected

2 more rows

amazon linux 1 release · 6 packages

fixed 6
nodejs22-npm nodejs24-npm nodejs22 nodejs24 v8-12-4-devel v8-13-6-devel
amazon linux fixes for CVE-2026-18540
ReleasePackageFixed in
2023 nodejs22-npm 1:10.9.9-1.22.23.3.1.amzn2023.0.1
2023 nodejs24-npm 1:11.19.0-1.24.21.0.1.amzn2023.0.1
2023 nodejs22 +7 1:22.23.3-1.amzn2023.0.1
2023 nodejs24 +7 1:24.21.0-1.amzn2023.0.1
2023 v8-12-4-devel 3:12.4.254.21-1.22.23.3.1.amzn2023.0.1
2023 v8-13-6-devel 3:13.6.233.17-1.24.21.0.1.amzn2023.0.1

chainguard 1 release · 14 packages

fixed 14
lerna npm-11 commercial-gitlab-rails-ee-19-1 commercial-gitlab-rails-ee-fips-19-1 commercial-gitlab-rails-ee-19-2 commercial-gitlab-rails-ee-19-3 +8
chainguard fixes for CVE-2026-18540
ReleasePackageFixed in
lerna 10.0.1-r11
npm-11 11.20.0-r3
commercial-gitlab-rails-ee-19-1 19.1.7-r3
commercial-gitlab-rails-ee-fips-19-1 19.1.9-r0
commercial-gitlab-rails-ee-19-2 +1 19.2.7-r1
commercial-gitlab-rails-ee-19-3 +1 19.3.3-r1

8 more rows

debian 3 releases · 1 package

affected 2 fixed 1
node-undici
debian fixes for CVE-2026-18540
ReleasePackageFixed in
12 node-undici affected
13 node-undici affected
14 node-undici 8.10.2+dfsg+~cs3.2.2-1

echo 1 release · 1 package

affected 1
node-undici
echo fixes for CVE-2026-18540
ReleasePackageFixed in
node-undici affected

minimos 1 release · 15 packages

fixed 15
pi-cli npm node-gyp nginx-proxy-manager-2 n8n homepage +9
minimos fixes for CVE-2026-18540
ReleasePackageFixed in
pi-cli 0.86.0-r0
npm 12.2.1-r0
node-gyp 13.1.0-r0
nginx-proxy-manager-2 2.16.0-r0
n8n 2.43.6-r0
homepage 2.5.0-r0

9 more rows

root.io debian 1 release · 1 package

affected 1
rootio-node-undici
root.io debian fixes for CVE-2026-18540
ReleasePackageFixed in
12 rootio-node-undici affected

wolfi 1 release · 4 packages

fixed 4
lerna code-server renovate prism
wolfi fixes for CVE-2026-18540
ReleasePackageFixed in
lerna 10.0.1-r11
code-server 4.139.1-r2
renovate 44.133.0-r0
prism 5.16.0-r14

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.