cve.bz

CVE-2026-42151 prometheus prometheus: Plaintext Storage of a Password

7.5 highEPSS 0.4%Fix available

High (7.5) in prometheus prometheus. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/prometheus/prometheus 0.311.3.

On this page
Prometheus is an open-source monitoring system and time series database. Prior to versions 3.5.3 and 3.11.3, the client_secret field in the Azure AD remote write OAuth configuration (storage/remote/azuread) was typed as string instead of Secret. Prometheus redacts fields of type Secret when serving the configuration via the /-/config HTTP API endpoint. Because the field was a plain string, the Azure OAuth client secret was exposed in plaintext to any user or process with access to that endpoint. This issue has been patched in versions 3.5.3 and 3.11.3.

Severity

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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-312 Cleartext Storage of Sensitive Information
CWE-256 Plaintext Storage of a Password
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42151 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42151?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42151?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42151 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
prometheus:prometheusfrom 2.48.0 before 3.5.3
prometheus:prometheusfrom 3.6.0 before 3.11.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wg65-39gg-5wfjGogithub.com/prometheus/prometheus>=0.45.2 <0.311.30.311.3
GO-2026-5710Gogithub.com/prometheus/prometheus>=0.45.2 <0.311.30.311.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13prometheusno fix listedDEBIAN-CVE-2026-42151
Debian14prometheus3.5.3+ds1-1DEBIAN-CVE-2026-42151
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moreprometheusno fix listedUBUNTU-CVE-2026-42151
Red Hathummingbird:1jaeger0:2.19.0-1.hum1RHSA-2026:25039
Red Hathummingbird:1opentelemetry-collector0:0.153.0-1.hum1RHSA-2026:25245
Red Hathummingbird:1opentelemetry-collector-contrib0:0.153.0-1.hum1RHSA-2026:25504
SUSEMulti Linux Manager Tools SLE-15golang-github-QubitProducts-exporter_exporter0.4.0-150002.3.6.2SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15golang-github-boynux-squid_exporter1.13.0-150002.3.6.2SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15golang-github-lusitaniae-apache_exporter1.0.10-150002.3.9.2SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-alertmanager0.28.1-150002.4.11.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15golang-github-prometheus-prometheus3.5.3-150002.3.13.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15grafana11.6.14+security04-150002.4.21.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15mgr-push5.2.4-150002.3.9.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15prometheus-blackbox_exporter0.26.0-150002.3.11.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15prometheus-postgres_exporter0.10.1-150002.3.3.2SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15python-defusedxml-sle150.7.1-150002.1.3.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15rhnlib5.2.5-150002.3.9.1SUSE-SU-2026:2768-1
SUSEMulti Linux Manager Tools SLE-15spacecmd5.2.8-150002.3.12.1SUSE-SU-2026:2768-1
19 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweedgolang-github-prometheus-prometheus3.11.3-1.1openSUSE-SU-2026:10676-1
AlmaLinux9opentelemetry-collector0.152.1-1.el9_8ALSA-2026:34359
AlmaLinux10opentelemetry-collector0.152.1-1.el10_2ALSA-2026:34357
Rocky Linux9opentelemetry-collector0:0.152.1-1.el9_8RLSA-2026:34359
Rocky Linux10opentelemetry-collector0:0.152.1-1.el10_2RLSA-2026:34357
Alpinev3.23, v3.24prometheus3.5.3-r0ALPINE-CVE-2026-42151
Azure Linux3telegraf1.31.0-22AZL-86610

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10opentelemetry-collector-0:0.152.1-1.el10_2Fixed 2026-07-01RHSA-2026:34357
Red Hat Enterprise Linux 10.0 Extended Update Supportopentelemetry-collector-0:0.152.1-1.el10_0Fixed 2026-08-11RHSA-2026:53413
Red Hat Enterprise Linux 9opentelemetry-collector-0:0.152.1-1.el9_8Fixed 2026-07-01RHSA-2026:34359
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsopentelemetry-collector-0:0.152.1-1.el9_4Fixed 2026-08-11RHSA-2026:53412
Red Hat Enterprise Linux 9.6 Extended Update Supportopentelemetry-collector-0:0.152.1-1.el9_6Fixed 2026-08-11RHSA-2026:53415
RHEM 1.0 for RHEL 9flightctl-0:1.0.3-1.el9emFixed 2026-07-08RHSA-2026:36796
RHEM 1.1 for RHEL 10flightctl-0:1.1.3-1.el10emFixed 2026-07-16RHSA-2026:41019
RHEM 1.1 for RHEL 9flightctl-0:1.1.3-1.el9emFixed 2026-07-16RHSA-2026:41019
Logging Subsystem for Red Hat OpenShift 6.0openshift-logging/loki-rhel9-operator:1785418915Fixed 2026-08-05RHSA-2026:50843
Logging Subsystem for Red Hat OpenShift 6.0openshift-logging/lokistack-gateway-rhel9:1785418855Fixed 2026-08-05RHSA-2026:50843
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel9Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-admission-webhooks-rhel9Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel9Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel9-operatorNot affected
File Integrity Operatorcompliance/openshift-compliance-must-gather-rhel8Not affected
File Integrity Operatorcompliance/openshift-compliance-openscap-rhel8Not affected
File Integrity Operatorcompliance/openshift-compliance-operator-bundleNot affected
File Integrity Operatorcompliance/openshift-compliance-rhel8-operatorNot affected
File Integrity Operatorcompliance/openshift-file-integrity-operator-bundleAffected
Network Observability Operatornetwork-observability/network-observability-ebpf-agent-rhel9Not affected
222 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42151.

Attack patterns (CAPEC)

  • CAPEC-37 Retrieve Embedded Sensitive Data Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON