CVEfocus › CVE database › CVE-2026-42151

CVE-2026-42151Prometheus Azure AD remote write OAuth client secret exposed via config API

CVSS 7.5 HighEPSS 0.4% (higher than 27% of CVEs)Published 2026-05-04Updated 2026-09-10Assigner: GitHub_M

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.

CWE-200CWE-256CWE-312

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
7Fix pending
2Will not fix
20Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10prometheusFix pendingUBUNTU-CVE-2026-42151
Ubuntu 26.04prometheusFix pendingUBUNTU-CVE-2026-42151
Ubuntu 25.10prometheusWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-42151
Ubuntu 24.04prometheusFix pendingUBUNTU-CVE-2026-42151
Ubuntu 22.04prometheusFix pendingUBUNTU-CVE-2026-42151
Ubuntu 20.04prometheusFix pendingUBUNTU-CVE-2026-42151
Ubuntu 18.04prometheusFix pendingUBUNTU-CVE-2026-42151
Ubuntu 16.04prometheusFix pendingUBUNTU-CVE-2026-42151
Debian 14prometheusFixed3.5.3+ds1-1DEBIAN-CVE-2026-42151
Debian 13prometheusWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-42151
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 10opentelemetry-collectorFixed0:0.152.1-1.el10_2RHSA-2026:34357
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 9opentelemetry-collectorFixed0:0.152.1-1.el9_8RHSA-2026:34359
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 7host-meteringNot affected
Red Hat Enterprise Linux 7host-metering-selinuxNot affected
AlmaLinux 10opentelemetry-collectorFixed0.152.1-1.el10_2ALSA-2026:34357
AlmaLinux 9opentelemetry-collectorFixed0.152.1-1.el9_8ALSA-2026:34359
Rocky Linux 10opentelemetry-collectorFixed0:0.152.1-1.el10_2RLSA-2026:34357
Rocky Linux 9opentelemetry-collectorFixed0:0.152.1-1.el9_8RLSA-2026:34359
Alpine Linux 3.24prometheusFixed3.5.3-r0ALPINE-CVE-2026-42151
Alpine Linux 3.23prometheusFixed3.5.3-r0ALPINE-CVE-2026-42151
Go librarygithub.com/prometheus/prometheusFixed0.311.3GHSA-wg65-39gg-5wfj

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.