7.5

CVE-2026-40895: follow-redirects: Custom Authentication Headers Leaked to Cross-Domain Redirect Targets

Modified
AliasesUBUNTU-CVE-2026-40895USN-8632-1DEBIAN-CVE-2026-40895
Published 21-04-2026Last modified 02-11-2026

Vulnerability summary

CVE-2026-40895 is a high (CVSS 7.5) vulnerability in follow-redirects_project follow-redirects. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 52.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.64%
0%100%
Low · +0.16 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 21-04-2026
    PublishedVulnerability first disclosed.
  2. 02-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.64%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

Increase +0.16 pp

From 0.49% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard76 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2All versions (No fix recorded)
  • arangodb-3.11< 3.11.14.5-r5
  • arangodb-3.12< 3.12.11-r1
  • argo-workflows-ui-3.6< 3.6.19-r6
Wolfi22 products
  • argo-workflows-ui-4.0< 4.0.4-r5
  • code-server< 4.112.0-r3
  • configurable-http-proxy< 5.2.0-r3
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compat< 0.19.0-r40
Debian1 product
  • node-follow-redirectsAll versions (No fix recorded) | < 1.16.0+~1.14.4-1
Follow-redirects1 product
Follow-redirects_project1 product
Npm1 product
  • follow-redirects< 1.16.0
Ubuntu1 product
  • node-follow-redirects< 1.2.4-1ubuntu0.18.04.1~esm2 | < 1.2.4-1ubuntu0.20.04.1~esm2 | < 1.14.9+~1.14.1-1ubuntu0.1~esm2 | < 1.15.6+~1.14.4-1ubuntu0.1~esm1 | All versions (No fix recorded) | < 1.15.11+~1.14.4-1ubuntu0.1~esm1

7 vendors · 103 products

References

57 links
Show all 57 references