Vulnerabilities

Vulnerability · CVE-2026-40895

follow-redirects is an open source, drop-in replacement for Node's and modules that automatically follows redirects.

Published Apr 21, 2026 · catalog updated Sep 10, 2026 · follow-redirects project

Check if you run it

No confirmed exploitation is on record for CVE-2026-40895. EPSS is 0.82%. Act only if a listed version of follow-redirects project is installed.

Gaps on this record

  • No version range is stored. A customer cannot check an installed version against this record.
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium6.9
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.82%
Remediation
Advisory link
Affected products
cpe follow-redirects project/follow-redirects

follow-redirects is an open source, drop-in replacement for Node's and 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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe follow-redirects project/follow-redirectsversion unspecified

How to fix CVE-2026-40895

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-40895. EPSS is 0.82%. Act only if a listed version of follow-redirects project is installed.

Which versions are affected?

Affected version ranges are not on this record. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-200: Exposure of Sensitive Information; CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer. EPSS 0.82%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Apr 21, 2026 · NIST NVD

    Detected

    follow-redirects is an open source, drop-in replacement for Node's and 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, Toke

  2. Sep 10, 2026 · NIST NVD

    Updated

    follow-redirects is an open source, drop-in replacement for Node's and 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, Toke

Sources

  • CVE.orgVulnerability recordCVE-2026-40895

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-40895

    30-day exploitation probability 0.8%

    first.org
  • NIST NVDVulnerability recordCVE-2026-40895

    follow-redirects is an open source, drop-in replacement for Node's and 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-authoriza

    nvd.nist.gov

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.