CVE Vulnerabilities

CVE-2026-40895

Exposure of Sensitive Information to an Unauthorized Actor

Published: Apr 21, 2026 | Modified: Nov 03, 2026
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM

follow-redirects is an open source, drop-in replacement for Nodes 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

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Affected Software

NameVendorStart VersionEnd Version
Follow-redirectsFollow-redirects_project*1.16.0 (excluding)
Cryostat 4 on RHEL 9RedHatcryostat/cryostat-openshift-console-plugin-rhel9:4.2.0-9*
Cluster Observability Operator 1.5RedHatcluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1781116645*
Cluster Observability Operator 1.5RedHatcluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9:1781116658*
Cluster Observability Operator 1.5RedHatcluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9:1781116387*
Cluster Observability Operator 1.5RedHatcluster-observability-operator/distributed-tracing-console-plugin-rhel9:1781116392*
Multicluster engine for Kubernetes 2.10RedHatmulticluster-engine/console-mce-rhel9:1780917531*
Multicluster engine for Kubernetes 2.11RedHatmulticluster-engine/console-mce-rhel9:1780910888*
Multicluster engine for Kubernetes 2.6RedHatmulticluster-engine/console-mce-rhel9:1778511348*
Multicluster engine for Kubernetes 2.8RedHatmulticluster-engine/console-mce-rhel9:1778383863*
Multicluster engine for Kubernetes 2.9RedHatmulticluster-engine/console-mce-rhel9:1778532610*
Network Observability (NETOBSERV) 1.11.0RedHatnetwork-observability/network-observability-console-plugin-compat-rhel9:1778508956*
Network Observability (NETOBSERV) 1.11.0RedHatnetwork-observability/network-observability-console-plugin-rhel9:1778510461*
Red Hat Advanced Cluster Management for Kubernetes 2.14RedHatrhacm2/console-rhel9:1783451729*
Red Hat Advanced Cluster Management for Kubernetes 2.15RedHatrhacm2/console-rhel9:1780876734*
Red Hat Advanced Cluster Management for Kubernetes 2.16RedHatrhacm2/console-rhel9:1780600823*
Red Hat Advanced Cluster Security 4.9RedHatadvanced-cluster-security/rhacs-main-rhel8:1779371594*
Red Hat Advanced Cluster Security for Kubernetes for IBM Power, little endian 4.10RedHatadvanced-cluster-security/rhacs-main-rhel8:1779293013*
Red Hat Ansible Automation Platform 2.5RedHatansible-automation-platform-25/lightspeed-rhel8:1780082949*
Red Hat Ceph Storage 9.2RedHatrhceph/rhceph-9-rhel10:1790843527*
Red Hat Developer Hub 1.8RedHatrhdh/rhdh-hub-rhel9:1779841586*
Red Hat Developer Hub 1.9RedHatrhdh/rhdh-hub-rhel9:1777903262*
Red Hat Discovery 2RedHatdiscovery/discovery-ui-rhel9:1778156756*
Red Hat Hardened ImagesRedHatgrafana13-2-main-13.2.4-0.3.hum1*
Red Hat Migration Toolkit 1.8RedHatrhmtc/openshift-migration-ui-rhel8:1783690532*
Red Hat Migration Toolkit for Applications 8.1RedHatmta/mta-ui-rhel9:1785169013*
Red Hat OpenShift AI 2.25RedHatrhoai/odh-dashboard-rhel9:1780467029*
Red Hat OpenShift AI 2.25RedHatrhoai/odh-mod-arch-model-registry-rhel9:1780467147*
Red Hat OpenShift AI 2.25RedHatrhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1787801527*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-dashboard-rhel9:1779189627*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-mod-arch-gen-ai-rhel9:1778473763*
Red Hat OpenShift AI 3.3RedHatrhoai/odh-mod-arch-model-registry-rhel9:1778666987*
Red Hat OpenShift Container Platform 4.17RedHatopenshift4/ose-console-rhel9:1784803344*
Red Hat OpenShift Container Platform 4.18RedHatopenshift4/ose-console-rhel9:1785278569*
Red Hat OpenShift Container Platform 4.19RedHatopenshift4/ose-monitoring-plugin-rhel9:1781708434*
Red Hat OpenShift Container Platform 4.19RedHatopenshift4/ose-console-rhel9:1784634877*
Red Hat OpenShift Container Platform 4.20RedHatopenshift4/ose-monitoring-plugin-rhel9:1781695012*
Red Hat OpenShift Container Platform 4.20RedHatopenshift4/ose-console-rhel9:1784731014*
Red Hat OpenShift Container Platform 4.21RedHatopenshift4/ose-monitoring-plugin-rhel9:1781731914*
Red Hat OpenShift Container Platform 4.21RedHatopenshift4/ose-console-rhel9:1784713762*
Red Hat OpenShift Container Platform 4.22RedHatopenshift4/ose-console-rhel9:1784125329*
Red Hat OpenShift Dev Spaces 3.28RedHatdevspaces/code-rhel9:1779814592*
Red Hat OpenShift Dev Spaces 3.28RedHatdevspaces/dashboard-rhel9:1779341289*
Red Hat OpenShift Dev Spaces 3.28RedHatdevspaces/openvsx-rhel9:1779528224*
Red Hat OpenShift Dev Spaces 3.28RedHatdevspaces/pluginregistry-rhel9:1779359423*
Red Hat OpenShift Service Mesh 2.6RedHatopenshift-service-mesh/kiali-ossmc-rhel8:1778191473*
Red Hat OpenShift Service Mesh 2.6RedHatopenshift-service-mesh/kiali-rhel8:1778191378*
Red Hat OpenShift Service Mesh 3.0RedHatopenshift-service-mesh/kiali-ossmc-rhel9:1778163785*
Red Hat OpenShift Service Mesh 3.0RedHatopenshift-service-mesh/kiali-rhel9:1778164208*
Red Hat OpenShift Service Mesh 3.1RedHatopenshift-service-mesh/kiali-ossmc-rhel9:1778163935*
Red Hat OpenShift Service Mesh 3.1RedHatopenshift-service-mesh/kiali-rhel9:1778164042*
Red Hat OpenShift Service Mesh 3.2RedHatopenshift-service-mesh/kiali-ossmc-rhel9:1778163792*
Red Hat OpenShift Service Mesh 3.2RedHatopenshift-service-mesh/kiali-rhel9:1778163909*
Red Hat OpenShift Service Mesh 3.3RedHatopenshift-service-mesh/kiali-ossmc-rhel9:1778163785*
Red Hat OpenShift Service Mesh 3.3RedHatopenshift-service-mesh/kiali-rhel9:1778163986*
Red Hat Quay 3.10RedHatquay/quay-rhel8:1779822261*
Red Hat Quay 3.12RedHatquay/quay-rhel8:1779811412*
Red Hat Quay 3.14RedHatquay/quay-rhel8:1779689392*
Red Hat Quay 3.15RedHatquay/quay-rhel8:1780891395*
Red Hat Quay 3.16RedHatquay/quay-rhel9:1779204086*
Red Hat Quay 3.17RedHatquay/quay-rhel9:1779922205*
Red Hat Quay 3.9RedHatquay/quay-rhel8:1779811473*
Node-follow-redirectsUbuntuesm-apps/bionic*
Node-follow-redirectsUbuntuesm-apps/focal*
Node-follow-redirectsUbuntuesm-apps/jammy*
Node-follow-redirectsUbuntuesm-apps/noble*
Node-follow-redirectsUbuntuesm-apps/resolute*
Node-follow-redirectsUbuntujammy*
Node-follow-redirectsUbuntunoble*
Node-follow-redirectsUbuntuquesting*
Node-follow-redirectsUbunturesolute*
Node-follow-redirectsUbuntuupstream*

Extended Description

There are many different kinds of mistakes that introduce information exposures. The severity of the error can range widely, depending on the context in which the product operates, the type of sensitive information that is revealed, and the benefits it may provide to an attacker. Some kinds of sensitive information include:

Information might be sensitive to different parties, each of which may have their own expectations for whether the information should be protected. These parties include:

Information exposures can occur in different ways:

It is common practice to describe any loss of confidentiality as an “information exposure,” but this can lead to overuse of CWE-200 in CWE mapping. From the CWE perspective, loss of confidentiality is a technical impact that can arise from dozens of different weaknesses, such as insecure file permissions or out-of-bounds read. CWE-200 and its lower-level descendants are intended to cover the mistakes that occur in behaviors that explicitly manage, store, transfer, or cleanse sensitive information.

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References