CVE-2026-40895
MEDIUM
MEDIUM
Priority: 0.03
BB Relevance:
74/100
Published: 2026-04-21
Modified: 2026-11-03
First seen: 2026-11-02
Status: active
Attack Surface
Network
Low Complexity
No Auth
No Interaction
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
None
UI:
None
S:
X
AT:
None
VC:
Low
VI:
None
VA:
None
Description
follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. Prior to 1.16.0, when an HTTP request follows a cross-domain redirect (301/302/307/308), follow-redirects only strips authorization, proxy-authorization, and cookie headers (matched by regex at index.js). Any custom authentication header (e.g., X-API-Key, X-Auth-Token, Api-Key, Token) is forwarded verbatim to the redirect target. This vulnerability is fixed in 1.16.0.
Weakness Classification (2)
Affected Software (2)
| Vendor | Product | Version |
|---|---|---|
| follow-redirects | follow-redirects | < 1.16.0 |
| follow-redirects_project | follow-redirects | < 1.16.0 |
References & Advisories (49)
x_refsource_MISC
x_refsource_CONFIRM
Showing 25 of 49 references