Improper Removal of Sensitive Information Before Storage or Transfer in follow-redirects - CVE-2026-111756

 

Improper Removal of Sensitive Information Before Storage or Transfer in follow-redirects - CVE-2026-111756

Published: November 4, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to obtain sensitive request headers, including credentials, forwarded to an attacker-controlled redirect destination.

The vulnerability exists due to improper removal of sensitive information in the removeMatchingHeaders function in follow-redirects when processing redirects with array-form request headers. The function iterates numeric array indices rather than header names, preventing sensitive-header filters from matching. A remote attacker can return a cross-origin or protocol-downgrade redirect to receive Authorization, Cookie, Proxy-Authorization, and caller-declared sensitive headers at a controlled destination.


Affected software

follow-redirects

How to mitigate CVE-2026-111756

Install security update from vendor's website.

follow-redirects - update to 1.16.1

External References

Related Security Bulletins