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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-04-14T01:11:11.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-r4q5-vmmm-2653
- Weaknesses: CWE-200, CWE-212
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- follow-redirects follow-redirects: < 1.16.0
- cryostat/cryostat-openshift-console-plugin-rhel9: no versions given (not affected: from 4.2.0-9 before *)
- cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9: no versions given (not affected: from 1781116645 before *)
- cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9: no versions given (not affected: from 1781116658 before *)
- cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9: no versions given (not affected: from 1781116387 before *)
- cluster-observability-operator/distributed-tracing-console-plugin-rhel9: no versions given (not affected: from 1781116392 before *)
- multicluster-engine/console-mce-rhel9: no versions given (not affected: from 1780917531 before *; from 1780910888 before *; from 1778511348 before *; from 1778383863 before *; from 1778532610 before *)
- network-observability/network-observability-console-plugin-compat-rhel9: no versions given (not affected: from 1778508956 before *)
- network-observability/network-observability-console-plugin-rhel9: no versions given (not affected: from 1778510461 before *)
- rhacm2/console-rhel9: no versions given (not affected: from 1783451729 before *; from 1780876734 before *; from 1780600823 before *)
- advanced-cluster-security/rhacs-main-rhel8: no versions given (not affected: from 1779371594 before *; from 1779293013 before *)
- ansible-automation-platform-25/lightspeed-rhel8: no versions given (not affected: from 1780082949 before *)
- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1779841586 before *; from 1777903262 before *)
- discovery/discovery-ui-rhel9: no versions given (not affected: from 1778156756 before *)
- rhmtc/openshift-migration-ui-rhel8: no versions given (not affected: from 1783690532 before *)
- mta/mta-ui-rhel9: no versions given (not affected: from 1785169013 before *)
- rhoai/odh-dashboard-rhel9: no versions given (not affected: from 1780467029 before *; from 1779189627 before *)
- rhoai/odh-mod-arch-model-registry-rhel9: no versions given (not affected: from 1780467147 before *; from 1778666987 before *)
- rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9: no versions given (not affected: from 1787801527 before *)
- rhoai/odh-mod-arch-gen-ai-rhel9: no versions given (not affected: from 1778473763 before *)
- openshift4/ose-console-rhel9: no versions given (not affected: from 1784803344 before *; from 1785278569 before *; from 1784634877 before *; from 1784731014 before *; from 1784713762 before *; from 1784125329 before *)
- openshift4/ose-monitoring-plugin-rhel9: no versions given (not affected: from 1781708434 before *; from 1781695012 before *; from 1781731914 before *)
- devspaces/code-rhel9: no versions given (not affected: from 1779814592 before *)
- devspaces/dashboard-rhel9: no versions given (not affected: from 1779341289 before *)
- devspaces/openvsx-rhel9: no versions given (not affected: from 1779528224 before *)
- devspaces/pluginregistry-rhel9: no versions given (not affected: from 1779359423 before *)
- openshift-service-mesh/kiali-ossmc-rhel8: no versions given (not affected: from 1778191473 before *)
- openshift-service-mesh/kiali-rhel8: no versions given (not affected: from 1778191378 before *)
- openshift-service-mesh/kiali-ossmc-rhel9: no versions given (not affected: from 1778163785 before *; from 1778163935 before *; from 1778163792 before *)
- openshift-service-mesh/kiali-rhel9: no versions given (not affected: from 1778164208 before *; from 1778164042 before *; from 1778163909 before *; from 1778163986 before *)
- quay/quay-rhel8: no versions given (not affected: from 1779822261 before *; from 1779811412 before *; from 1779689392 before *; from 1780891395 before *; from 1779811473 before *)
- quay/quay-rhel9: no versions given (not affected: from 1779204086 before *; from 1779922205 before *)
- cryostat-openshift-console-plugin-npm: no versions given
- follow-redirects: no versions given
- gatekeeper/gatekeeper-rhel9: no versions given
- mta/mta-ui-rhel8: no versions given
- migration-toolkit-virtualization/mtv-console-plugin-rhel9: no versions given
- mtv-candidate/mtv-console-plugin-rhel9: no versions given
- workload-availability/node-healthcheck-must-gather-rhel9: no versions given
- workload-availability/node-healthcheck-operator-bundle: no versions given
- workload-availability/node-healthcheck-rhel9-operator: no versions given
- openshift-lightspeed/lightspeed-console-plugin-419-rhel9: no versions given
- openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9: no versions given
- openshift-lightspeed/lightspeed-console-plugin-rhel9: no versions given
- openshift-pipelines/pipelines-console-plugin-rhel8: no versions given
- openshift-pipelines/pipelines-console-plugin-rhel9: no versions given
- openshift-pipelines/pipelines-hub-ui-rhel8: no versions given
- openshift-pipelines/pipelines-hub-ui-rhel9: no versions given
- openshift-service-mesh/kiali-operator-bundle: no versions given
- openshift-service-mesh/kiali-rhel9-operator: no versions given
- 3scale-amp21/system: no versions given
- 3scale-amp22/system: no versions given
- 3scale-amp2/system-rhel7: no versions given
- 3scale-amp2/system-rhel8: no versions given
- 3scale-amp2/system-rhel9: no versions given
- ansible-automation-platform-26/gateway-rhel9: no versions given
- ansible-automation-platform-26/lightspeed-rhel9: no versions given
- ansible-automation-platform/automation-dashboard-rhel9: no versions given
- automation-controller: no versions given
- automation-eda-controller: no versions given
- and 67 more: see the JSON

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-r4q5-vmmm-2653> (mitigation, vendor-advisory, web)
- <https://github.com/follow-redirects/follow-redirects/commit/844c4d302ac963d29bdb5dc1754ec7df3d70d7f9> (web)
- <https://access.redhat.com/security/cve/CVE-2026-40895> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2460297> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40895.json>
- <https://access.redhat.com/errata/RHSA-2026:17789> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:26010> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16874> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36882> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24539> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25273> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:20938> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:20889> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24766> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21338> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13826> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:14937> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41928> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:50300> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24977> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65126> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19712> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:47728> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:48699> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:44235> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:27004> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:44263> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:27063> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:44267> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:27044> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:40768> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21772> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16476> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16534> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16532> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16535> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16542> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:22840> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:22629> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:21017> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24853> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19375> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:22465> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:23361> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25271> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:24536> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:17657> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:17699> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19109> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40895> (advisory)
- <https://github.com/follow-redirects/follow-redirects> (package)

## Sources

- CVE List: [CVE-2026-40895](https://www.cve.org/CVERecord?id=CVE-2026-40895), CVE Terms of Use, modified 2026-11-02
- GitHub Advisory Database: [GHSA-r4q5-vmmm-2653](https://github.com/advisories/GHSA-r4q5-vmmm-2653), CC-BY-4.0, modified 2026-11-02
- NVD: [CVE-2026-40895](https://nvd.nist.gov/vuln/detail/CVE-2026-40895), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-40895 · Whole record: https://cve.day/CVE-2026-40895.json · Rebuilt by cve.day 2026-11-25T22:59:19.188Z
