Skip to main content
No exploitation reportedFix available

CVE-2026-42151

Prometheus Azure AD remote write OAuth client secret exposed via config API

No exploitation reported by the sources we read.

  • Published2026-05-04
  • Fixed in3.11.3 · 3.5.3 · 0.311.3 · 0.305.3
  • WeaknessCWE-200 · CWE-256 · CWE-312

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-05-0419:16CVE publishedNVD

Versions per branch

NVD · OSV
Prometheus
BranchAffectedFixed in
3.x≥ 3.6.0, < 3.11.33.11.3
3.5≥ 2.48.0, < 3.5.33.5.3
3.5≥ 1.0.0, < 3.5.33.5.3
0.x≥ 0.306.0, < 0.311.30.311.3
0.x≥ 0.45.2, < 0.311.30.311.3
0.305< 0.305.30.305.3

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • prometheus
    Affected
    • = < 3.5.3no fix stated
    • = >= 3.6.0, < 3.11.3no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-05-04

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • agentbeatChainguardall versions · fixed in 9.2.7-r8
  • agentbeat-fipsChainguardall versions · fixed in 9.2.7-r9
  • amazon-cloudwatch-agentWolfiall versions · fixed in 1.300074.1-r2
  • amazon-cloudwatch-agentMinimOSall versions · no fixed version listedand 204 other packages
  • amazon-cloudwatch-agentCleanStartall versions · fixed in 1.300065.0-r1
  • amazon-cloudwatch-agentCleanStartall versions · fixed in 1.300070.0-r1
  • amazon-cloudwatch-agentCleanStartall versions · fixed in 1.300071.0-r1
  • amazon-cloudwatch-agentChainguardall versions · fixed in 1.300074.1-r2

303 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-42151 Red Hat Product Security542 products fixed · 51 known affected

    github.com/prometheus/prometheus: Prometheus: Information disclosure of Azure OAuth client secret via config API

    compliance/openshift-file-integrity-operator-bundle as a component of File Integrity Operator · rhceph/rhceph-5-dashboard-rhel8 as a component of Red Hat Ceph Storage 5 · rhceph/rhceph-6-dashboard-rhel9 as a component of Red Hat Ceph Storage 6 · +48 more

  • RHSA-2026:99635 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Logging for Red Hat OpenShift - 6.2.14

  • RHSA-2026:96283 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.17.60 bug fix and security update

  • RHSA-2026:95756 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.15.71 bug fix and security update

  • RHSA-2026:89715 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.16.74 bug fix and security update

  • RHSA-2026:79039 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.18.57 bug fix and security update

62 more advisories

Full record on NVD

Fix

  1. Update Prometheus to 3.11.3 · 3.5.3 · 0.311.3 · 0.305.3
  2. Vendor fix Red Hat Product Security RHSA-2026:99635 · 4 productsFor OpenShift Container Platform 4.18 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/relea…
  3. Vendor fix Red Hat Product Security RHSA-2026:96283 · 4 productsFor OpenShift Container Platform 4.17 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  4. Vendor fix Red Hat Product Security RHSA-2026:95756 · 4 productsFor OpenShift Container Platform 4.15 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  5. Vendor fix Red Hat Product Security RHSA-2026:89715 · 4 productsFor OpenShift Container Platform 4.16 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  6. Vendor fix Red Hat Product Security RHSA-2026:79039 · 4 productsFor OpenShift Container Platform 4.18 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  7. Vendor fix Red Hat Product Security RHSA-2026:83013 · 4 productsFor OpenShift Container Platform 4.16 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html/relea…

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2026-05-04
Last Modified
2026-11-11
NVD status
Modified
MSRC Title
Prometheus Azure AD remote write OAuth client secret exposed via config API
GitHub Advisory
GHSA-wg65-39gg-5wfj

Frequently asked questions

What is CVE-2026-42151?

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.

Is CVE-2026-42151 actively exploited?

Active exploitation of CVE-2026-42151 has not been confirmed. Its EPSS score was 0.4% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-42151?

CVE-2026-42151 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running prometheus? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record