PT-2026-34171 · Follow Redirects+2 · Follow-Redirects+1
Published
2026-04-21
·
Updated
2026-04-27
·
CVE-2026-40895
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
follow-redirects versions prior to 1.16.0
Description
When an HTTP request follows a cross-domain redirect (301, 302, 307, or 308), the software only removes authorization, proxy-authorization, and cookie headers. Any custom authentication headers, such as
X-API-Key, X-Auth-Token, Api-Key, or Token, are forwarded verbatim to the redirect target.Recommendations
Update to version 1.16.0.
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Follow-Redirects
Node-Follow-Redirects