{"id":"CVE-2026-120415","aliases":["CVE-2026-120415"],"related":[],"kind":"vulnerability","state":"published","title":"undici vulnerable to cross-origin credential disclosure via array-of-tuples headers bypassing redirect stripping","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-06T10:10:48.653Z","modified":"2026-11-10T18:17:19.707Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-200","CWE-212"],"affected":[{"ranges":[{"type":"semver","introduced":"7.0.0","fixed":"7.30.2","status":"affected"},{"type":"semver","version":"7.30.2","status":"unaffected"},{"type":"semver","introduced":"8.0.0","fixed":"8.12.4","status":"affected"},{"type":"semver","version":"8.12.4","status":"unaffected"}],"vendor":"undici","product":"undici","source":"cvelist"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-9v6h-8rgp-m69f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["ffasterss","shirabe0x05","mcollina","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-10T17:40:27.623Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120415","url":"https://www.cve.org/CVERecord?id=CVE-2026-120415","licence":"CVE Terms of Use","modified":"2026-11-10T17:40:41.647Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120415","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120415","licence":"Public domain","modified":"2026-11-10T18:17:19.707Z"}],"updatedAt":"2026-11-25T22:59:49.234Z","epss":{"score":0.00367,"percentile":0.32575,"date":"2026-12-01T12:00:22.000Z"}}