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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2026-05-0419:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.x | ≥ 3.6.0, < 3.11.3 | 3.11.3 | NVD · OSV |
| 3.5 | ≥ 2.48.0, < 3.5.3 | 3.5.3 | NVD |
| 3.5 | ≥ 1.0.0, < 3.5.3 | 3.5.3 | OSV |
| 0.x | ≥ 0.306.0, < 0.311.3 | 0.311.3 | OSV |
| 0.x | ≥ 0.45.2, < 0.311.3 | 0.311.3 | OSV |
| 0.305 | < 0.305.3 | 0.305.3 | OSV |
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.
- prometheusAffected
- = < 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
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
Red Hat Security Advisory: Logging for Red Hat OpenShift - 6.2.14
Red Hat Security Advisory: OpenShift Container Platform 4.17.60 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.15.71 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.16.74 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.18.57 bug fix and security update
62 more advisories
Fix
- Update Prometheus to 3.11.3 · 3.5.3 · 0.311.3 · 0.305.3
- 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…
- 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.…
- 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.…
- 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.…
- 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.…
- 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
- github.comPatch
- github.comPatch
- github.comRelease Notes
- github.comRelease Notes
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-11
- CISA-ADPSSVC decisionnone2026-05-04
- CNACVSS 3.17.5read 2026-11-11
- CNAweakness (CWE)CWE-200, CWE-256, CWE-312read 2026-11-11
- FIRST EPSSEPSS score0.4 %2026-11-18
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2026-05-05
- Microsoft MSRCadvisory—
Identifiers
- AZL-86610same flawAzure Linux · MIT
- BIT-prometheus-2026-42151same flawBitnami · Apache-2.0
- CGA-22j6-63v7-8vw9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-22rr-j7q5-983xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-233p-m6vm-g8fmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2347-7w3h-gvvwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2479-8vm6-xfxwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-24mf-j83c-g3rcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-24mf-qqcx-c9x3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-24q2-g22h-739jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-253r-c8mm-r7r9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2563-cf3c-33qcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-257j-fjq4-786xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-258q-f9j7-34rjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25fp-rhh7-q7fpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25r5-hvgm-p823same flawChainguard · CC-BY-NC-ND-4.0
- CGA-25xq-27vq-64q8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-26cx-r6f4-8574same flawChainguard · CC-BY-NC-ND-4.0
- CGA-26vc-pmmv-8g8xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-273f-5m2g-p9rwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2746-xvpq-qc6xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2786-rvj4-wrm6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-27cj-fm5c-23f9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-27gr-7332-fcr3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-27gx-27j6-5749same flawChainguard · CC-BY-NC-ND-4.0
- CGA-297x-6cv5-hx5jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-29vm-mgv3-32gvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-29x9-v3qm-hj25same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2cgp-j9rv-wwrgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2chc-6cr2-v6ffsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2ffm-5gfw-4w7qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2fq7-xf6x-9cfcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2g87-xhwv-4399same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2h4q-gfg3-32h3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2h6p-gj9w-xjrwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2h86-m663-cwrmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2hcc-5q9p-gq9csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2j3r-qwmg-m8f3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2jf7-jvmf-5wvjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mgr-hh9v-xjcfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mpp-rmwv-5xhhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2p7w-77hp-7w8jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2pf3-p3mr-xw44same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2pg6-jg95-577csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2pxq-7376-p2qpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2q5h-x2rr-235vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2q9g-g33f-fjm8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qg9-wxj9-gm78same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qx7-xx6m-8x7rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2rrq-4993-985hsame flawChainguard · CC-BY-NC-ND-4.0
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?
Is CVE-2026-42151 actively exploited?
What is the CVSS score for CVE-2026-42151?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-wg65-39gg-5wfj
- Microsoft MSRC · Microsoft terms of use (personal and non-commercial use) · terms restrict redistribution
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0