Improper Removal of Sensitive Information Before Storage or Transfer in undici - CVE-2026-120415

 

Improper Removal of Sensitive Information Before Storage or Transfer in undici - CVE-2026-120415

Published: November 6, 2026


Vulnerability identifier: #VU159754
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-120415
CWE-ID: CWE-212
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to obtain origin-bound credentials from an application's redirected requests.

The vulnerability exists due to undici's redirect interceptor failing to strip sensitive headers supplied as an array of tuples when a header-normalizing interceptor is composed outside the redirect interceptor. An unauthenticated remote attacker can receive those credentials at a controlled destination when the application sends a credential-bearing request through this configuration and follows a cross-origin redirect.


Affected software

undici

How to mitigate CVE-2026-120415

Install security update from vendor's website.

undici - addressed in versions 7.30.2, 8.12.4

External References

Related Security Bulletins