CVE-2026-42151
Public on
Last Modified:
Description
A flaw was found in Prometheus, an open-source monitoring system. The client_secret field within the Azure Active Directory (AD) remote write OAuth configuration was incorrectly handled as a plain string instead of a secure Secret type. This misconfiguration allowed any user or process with access to the /-/config HTTP API endpoint to view the Azure OAuth client secret in plaintext. This vulnerability leads to information disclosure, potentially compromising the security of integrated Azure AD services.
Statement
This Important information disclosure flaw in Prometheus affects instances configured to use Azure AD remote write with OAuth authentication. The client secret, intended to be a secure credential, is exposed in plaintext through the /-/config HTTP API endpoint. This could allow an attacker with access to this endpoint to retrieve the secret, potentially compromising integrated Azure AD services.
Additional information
- This content is not included.Bugzilla 2466507: github.com/prometheus/prometheus: Prometheus: Information disclosure of Azure OAuth client secret via config API
- Content from cwe.mitre.org is not included.CWE-256: Plaintext Storage of a Password
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2026-42151
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2026-42151
Content from github.com is not included.https://github.com/prometheus/prometheus/pull/18587
Content from github.com is not included.https://github.com/prometheus/prometheus/pull/18590
Content from github.com is not included.https://github.com/prometheus/prometheus/releases/tag/v3.5.3
Affected Packages and Issued Red Hat Security Errata
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel9 | Not affected | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-admission-webhooks-rhel9 | Not affected | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9 | Not affected | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9-operator | Not affected | |
| File Integrity Operator | compliance/openshift-compliance-must-gather-rhel8 | Affected | |
| File Integrity Operator | compliance/openshift-compliance-openscap-rhel8 | Affected | |
| File Integrity Operator | compliance/openshift-compliance-operator-bundle | Affected | |
| File Integrity Operator | compliance/openshift-compliance-rhel8-operator | Affected | |
| File Integrity Operator | compliance/openshift-file-integrity-operator-bundle | Affected | |
| File Integrity Operator | compliance/openshift-file-integrity-rhel8-operator | Affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-loki-rhel9 | Affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/loki-rhel9-operator | Affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/lokistack-gateway-rhel9 | Affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/opa-openshift-rhel9 | Affected | |
| Multicluster Global Hub 1.4.5 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9 | Fixed | RHSA-2026:41030 |
| Multicluster Global Hub 1.5.6 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9 | Fixed | RHSA-2026:42852 |
| Network Observability Operator | network-observability/network-observability-ebpf-agent-rhel9 | Not affected | |
| Network Observability Operator | network-observability/network-observability-flowlogs-pipeline-rhel9 | Not affected | |
| OpenShift Lightspeed | openshift-lightspeed/openshift-mcp-server-rhel9 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-cni-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-rhel8-operator | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/pilot-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/proxyv2-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-cni-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-pilot-rhel9 | Not affected | |
| OpenShift Service Mesh 3 | openshift-service-mesh/istio-proxyv2-rhel9 | Not affected | |
| RHEM 1.0 for RHEL 9 | flightctl | Fixed | RHSA-2026:36796 |
| RHEM 1.1 for RHEL 10 | flightctl | Fixed | RHSA-2026:41019 |
| RHEM 1.1 for RHEL 9 | flightctl | Fixed | RHSA-2026:41019 |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-grafana-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-multicluster-observability-addon-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-prometheus-config-reloader-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-prometheus-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/endpoint-monitoring-rhel9-operator | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/grafana-dashboard-loader-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/metrics-collector-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/multicluster-observability-rhel9-operator | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/obo-prometheus-rhel9-operator | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/observatorium-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/prometheus-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/rbac-query-proxy-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/thanos-receive-controller-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/thanos-rhel9 | Affected | |
| Red Hat Ceph Storage 5 | rhceph/rhceph-5-dashboard-rhel8 | Affected | |
| Red Hat Ceph Storage 6 | rhceph/rhceph-6-dashboard-rhel9 | Affected | |
| Red Hat Ceph Storage 6 | rhceph/rhceph-promtail-rhel9 | Affected | |
| Red Hat Ceph Storage 7 | rhceph/grafana-rhel9 | Affected | |
| Red Hat Ceph Storage 7 | rhceph/rhceph-promtail-rhel9 | Affected | |
| Red Hat Ceph Storage 8 | rhceph/grafana-rhel9 | Affected | |
| Red Hat Ceph Storage 8 | rhceph/rhceph-promtail-rhel9 | Affected | |
| Red Hat Ceph Storage 9 | rhceph/grafana-rhel10 | Affected | |
| Red Hat Edge Manager 1.0 | rhem/flightctl-alert-exporter-rhel9 | Fixed | RHSA-2026:36651 |
| Red Hat Edge Manager 1.0 | rhem/flightctl-alertmanager-proxy-rhel9 | Fixed | RHSA-2026:36651 |
| Red Hat Edge Manager 1.0 | rhem/flightctl-api-rhel9 | Fixed | RHSA-2026:36651 |
| Red Hat Edge Manager 1.0 | rhem/flightctl-cli-artifacts-rhel9 | Fixed | RHSA-2026:36651 |
| Red Hat Edge Manager 1.0 | rhem/flightctl-db-setup-rhel9 | Fixed | RHSA-2026:36651 |
| Red Hat Edge Manager 1.0 | rhem/flightctl-pam-issuer-rhel9 | Fixed | RHSA-2026:36651 |
| Red Hat Edge Manager 1.0 | rhem/flightctl-periodic-rhel9 | Fixed | RHSA-2026:36651 |
| Red Hat Edge Manager 1.0 | rhem/flightctl-telemetry-gateway-rhel9 | Fixed | RHSA-2026:36651 |
| Red Hat Edge Manager 1.0 | rhem/flightctl-userinfo-proxy-rhel9 | Fixed | RHSA-2026:36651 |
| Red Hat Edge Manager 1.0 | rhem/flightctl-worker-rhel9 | Fixed | RHSA-2026:36651 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-alert-exporter-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-alertmanager-proxy-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-api-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-cli-artifacts-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-db-setup-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-imagebuilder-api-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-imagebuilder-worker-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-pam-issuer-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-periodic-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-telemetry-gateway-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-userinfo-proxy-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-worker-rhel9 | Fixed | RHSA-2026:40118 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-alert-exporter-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-alertmanager-proxy-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-api-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-cli-artifacts-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-db-setup-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-imagebuilder-api-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-imagebuilder-worker-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-pam-issuer-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-periodic-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-telemetry-gateway-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-userinfo-proxy-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Edge Manager 1.1 | rhem/flightctl-worker-rhel10 | Fixed | RHSA-2026:40945 |
| Red Hat Enterprise Linux 10 | opentelemetry-collector | Fixed | RHSA-2026:34357 |
| Red Hat Enterprise Linux 10 | grafana | Not affected | |
| Red Hat Enterprise Linux 7 | host-metering | Affected | |
| Red Hat Enterprise Linux 8 | grafana | Not affected | |
| Red Hat Enterprise Linux 9 | opentelemetry-collector | Fixed | RHSA-2026:34359 |
| Red Hat Enterprise Linux 9 | grafana | Not affected | |
| Red Hat Hardened Images | jaeger-main | Fixed | RHSA-2026:25039 |
| Red Hat Hardened Images | opentelemetry-collector-main | Fixed | RHSA-2026:25245 |
| Red Hat Hardened Images | opentelemetry-collector-contrib-main | Fixed | RHSA-2026:25504 |
| Red Hat Hardened Images | rust | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-agent-rhel9 | Affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-controller-rhel9 | Affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-router-rhel9 | Affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-llm-d-inference-scheduler-rhel9 | Affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-llm-d-routing-sidecar-rhel9 | Affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-model-registry-rhel9 | Not affected | |
| Red Hat OpenShift Container Platform 4 | microshift | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/cnf-tests-rhel8 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/kube-metrics-server-rhel8 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/kube-metrics-server-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/microshift-bootc-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-cluster-monitoring-operator | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prom-label-proxy | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus-config-reloader | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus-config-reloader-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus-operator | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus-operator-admission-webhook-rhel8 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus-operator-admission-webhook-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prometheus-rhel9-operator | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-telemeter | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-telemeter-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-thanos-rhel8 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-thanos-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ztp-site-generate-rhel8 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-prom-label-proxy-rhel9 | Not affected | |
| Red Hat OpenShift Container Platform 4.22 | openshift4/ose-cluster-monitoring-rhel9-operator | Fixed | RHSA-2026:40768 |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Affected | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel9 | Affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/opentelemetry-collector-rhel9 | Affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/opentelemetry-rhel9-operator | Affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/opentelemetry-target-allocator-rhel9 | Affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/tempo-gateway-opa-rhel9 | Affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/tempo-gateway-rhel9 | Affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/tempo-query-rhel9 | Affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/tempo-rhel9 | Affected | |
| Red Hat OpenStack Platform 18.0 | rhoso-operators/openstack-operator-bundle | Not affected | |
| Red Hat Quay 3.1 | quay/quay-rhel8 | Fixed | RHSA-2026:41031 |
| Red Hat Quay 3.12 | quay/quay-rhel8 | Fixed | RHSA-2026:42146 |
| Red Hat Quay 3.15 | quay/quay-rhel8 | Fixed | RHSA-2026:42796 |
| Red Hat Quay 3.16 | quay/quay-rhel9 | Fixed | RHSA-2026:41066 |
| Red Hat Quay 3.9 | quay/quay-rhel8 | Fixed | RHSA-2026:40262 |
| Red Hat Trusted Artifact Signer 1.3 | rhtas/createtree-rhel9 | Fixed | RHSA-2026:40970 |
| Red Hat Trusted Artifact Signer 1.3 | rhtas/updatetree-rhel9 | Fixed | RHSA-2026:40972 |
| Red Hat Trusted Artifact Signer 1.3 | rhtas/certificate-transparency-rhel9 | Fixed | RHSA-2026:40974 |
| Red Hat Trusted Artifact Signer 1.3 | rhtas/trillian-database-rhel9 | Fixed | RHSA-2026:40974 |
| Red Hat Trusted Artifact Signer 1.3 | rhtas/trillian-logserver-rhel9 | Fixed | RHSA-2026:40974 |
| Red Hat Trusted Artifact Signer 1.3 | rhtas/trillian-logsigner-rhel9 | Fixed | RHSA-2026:40974 |
| Red Hat Trusted Artifact Signer 1.4 | conforma-cli-stack-v1-4 | Fixed | RHSA-2026:36797 |
| Red Hat Trusted Artifact Signer 1.4 | rhtas/createtree-rhel9 | Fixed | RHSA-2026:37267 |
| Red Hat Trusted Artifact Signer 1.4 | rhtas/updatetree-rhel9 | Fixed | RHSA-2026:37271 |
| Red Hat Trusted Artifact Signer 1.4 | rhtas/certificate-transparency-rhel9 | Fixed | RHSA-2026:37272 |
| Red Hat Trusted Artifact Signer 1.4 | rhtas/trillian-database-rhel9 | Fixed | RHSA-2026:37272 |
| Red Hat Trusted Artifact Signer 1.4 | rhtas/trillian-logserver-rhel9 | Fixed | RHSA-2026:37272 |
| Red Hat Trusted Artifact Signer 1.4 | rhtas/trillian-logsigner-rhel9 | Fixed | RHSA-2026:37272 |
| Red Hat Trusted Artifact Signer 1.4 | conforma-cli-stack-v1-4 | Fixed | RHSA-2026:37276 |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| CVSS v3 Base Score | 7.5 | N/A | 7.5 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality Impact | High | N/A | High |
| Integrity Impact | None | N/A | None |
| Availability Impact | None | N/A | None |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cve.org CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.