Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-120415
Published:November 06, 2026
Updated:November 09, 2026
undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3, the redirect interceptor strips sensitive headers such as Authorization, Cookie, Proxy-Authorization, and Host when a request is redirected to a different origin, but when request headers are supplied as an array of name and value tuples (a valid documented input, for example from Object.entries), the redirect handler misreads them as a flat list so the header names never match and the sensitive headers are not removed. If a header-normalizing interceptor such as cache or deduplicate is composed outside the redirect interceptor, it then serializes the retained headers onto the cross-origin request, disclosing the caller's origin-bound credentials to the unrelated redirect destination. This is a representation-dependent bypass of the cross-origin header stripping added in CVE-2024-30260. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later. As a workaround, supply request headers as a plain object or a flat name and value array rather than an array of tuples, or compose the redirect interceptor outside the normalizing interceptor.
Affected Packages
https://github.com/nodejs/undici.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.12.4
Fix Suggestion:
Update to version v8.12.4
https://github.com/nodejs/undici.git (GITHUB):
Affected version(s) >=v7.0.0-alpha.7 <v7.30.2 || >=v7.0.0 <v7.30.2
Fix Suggestion:
Update to version v7.30.2
undici (NPM):
Affected version(s) >=7.0.0 <7.30.2 || >=7.0.0-alpha.7 <7.30.2
Fix Suggestion:
Update to version 7.30.2
undici (NPM):
Affected version(s) >=8.0.0 <8.12.4
Fix Suggestion:
Update to version 8.12.4
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Removal of Sensitive Information Before Storage or Transfer
Exposure of Sensitive Information to an Unauthorized Actor
EPSS
Base Score:
0.30