High severity · published May 4, 2026
CVE-2026-42151
Prometheus Azure AD remote write OAuth client secret exposed via config API
7.5
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 29% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PR
prometheus · prometheus
< 3.5.3; >= 3.6.0, < 3.11.3 · source: vendor, NVD
FI
File Integrity Operator · Red Hat
All versions, or not specified · source: CISA
LS
Logging Subsystem for Red Hat OpenShift · Red Hat
All versions, or not specified · source: CISA
LS
Logging Subsystem for Red Hat OpenShift 6.5 · Red Hat
All versions, or not specified · source: CISA
LF
Logging for Red Hat OpenShift 6 · Red Hat
All versions, or not specified · source: CISA
LF
Logging for Red Hat OpenShift 6.2 · Red Hat
All versions, or not specified · source: CISA
MG
Multicluster Global Hub 1.4.5 · Red Hat
All versions, or not specified · source: CISA
MG
Multicluster Global Hub 1.6.5 · Red Hat
All versions, or not specified · source: CISA
MG
Multicluster Global Hub 1.7.0 · Red Hat
All versions, or not specified · source: CISA
OF
OpenShift File Integrity Operator - FIO 1 · Red Hat
All versions, or not specified · source: CISA
R1
RHEM 1.0 for RHEL 9 · Red Hat
All versions, or not specified · source: CISA
R1
RHEM 1.1 for RHEL 10 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-42151
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-42151
Issue Tracking
https://github.com/prometheus/prometheus/pull/18587
Issue Tracking
https://github.com/prometheus/prometheus/pull/18590
Release Notes
https://github.com/prometheus/prometheus/releases/tag/v3.11.3
Release Notes
https://github.com/prometheus/prometheus/releases/tag/v3.5.3
Vendor Advisory
https://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:25039
More from prometheus
7.5
CVE-2026-42154
Prometheus: remote read endpoint allows denial of service via crafted snappy payload
6.1
CVE-2026-44903
Prometheus: Stored XSS via crafted histogram bucket label values in the heatmap display of the old Prometheus web UI
6.1
CVE-2026-40179
Prometheus: Stored XSS via metric names and label values in web UI tooltips and metrics explorer
6.1
CVE-2021-29622
Prometheus is an open-source monitoring system and time series database
6.1
CVE-2019-3826
A stored, DOM based, cross-site scripting (XSS) flaw was found in Prometheus before version 2.7.1
