{"id":"CVE-2026-120415","published":"2026-11-06T10:10:48Z","modified":"2026-11-10T17:40:41Z","title":"undici vulnerable to cross-origin credential disclosure via array-of-tuples headers bypassing redirect stripping","vendor":"undici","product":"undici","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00367,"percentile":0.31188,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-212","name":"Improper Removal of Sensitive Information Before Storage or Transfer"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-9v6h-8rgp-m69f","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":6.24},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"undici","affectedVersions":[{"vendor":"undici","product":"undici","versions":[">= 7.0.0, < 7.30.2",">= 8.0.0, < 8.12.4"]}],"fixedVersions":[{"vendor":"undici","product":"undici","versions":["7.30.2","8.12.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-10T17:40:27.623427Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-118183","exploited":false,"provenance":"source"}}