CVE Feed

    Dashboard / CVE / CVE-2026-40895

    CVE-2026-40895

    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.

    Published:Apr 21, 2026
    Last Modified:Apr 23, 2026
    EPS:Apr 21, 2026
    EPSS Score:0.0005
    CVSS Score:7.5

    Affected Products

    Vendor
    Follow-redirects
    Product
    Follow Redirects
    Vendor
    Follow-redirects Project
    Product
    Follow-redirects

    Exploits

    No exploit reference

    Common Attack Pattern Enumeration and Classification (CAPEC)

    References

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High