CVE-2026-42151
Prometheus Azure AD remote write OAuth client secret exposed via config API
Reported by github_m · Published May 4, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| node-problem-detector-1.36 | Wolfi | 1.36.0-r0 |
| trillian-fips | Chainguard | 1.7.3-r7 |
| elastic-agent-fips-9.3 | Chainguard | 9.3.7-r2 |
| cloud-sql-proxy-2.17 | Wolfi | 2.17.1-r23 |
| datadog-agent-7.80 | Wolfi | 7.80.4-r5 |
| karma-fips | Chainguard | 0.130-r0 |
| istio-1.30 | Wolfi | 1.30.4-r2, 1.30.2-r1 |
| elastic-agent-9.3 | Chainguard | 9.3.7-r1 |
| certificate-transparency | Chainguard | 1.3.3-r22, 1.3.3-r13 |
| grafana-13.1 | Chainguard | 13.1.0-r1 |
| istio-1.29 | Chainguard | 1.29.7-r3, 1.29.3-r1 |
| google-cloud-otel-ops-collector | Chainguard | 0.154.0-r1 |
33 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| prometheus | prometheus | < 3.5.3, >= 3.6.0, < 3.11.3 |
| Red Hat | Red Hat Quay 3 | |
| wolfi | node-problem-detector-1.36 | 0 |
| Red Hat | File Integrity Operator | |
| Red Hat | Multicluster Global Hub | |
| Red Hat | Red Hat Advanced Cluster Management for Kubernetes 2.14 | 1787645355 |
| Red Hat | Red Hat Quay 3.12 | 1784353904, 1783751865 |
| chainguard | minio-object-browser | * |
| Red Hat | Network Observability Operator | |
| chainguard | trillian-fips | 0 |
| chainguard | elastic-agent-fips-9.3 | 0 |
| Red Hat | Custom Metric Autoscaler operator for Red Hat Openshift | |
| wolfi | cloud-sql-proxy-2.17 | 0 |
| chainguard | elastic-agent-fips-8.19 | * |
| chainguard | loki-3.7 | * |
| Red Hat | RHEM 1.1 for RHEL 9 | 0:1.1.3-1.el9em |
| Red Hat | Red Hat Advanced Cluster Management for Kubernetes 2.13 | 1787259108 |
| Red Hat | Red Hat Quay 3.10 | 1783750447 |
| Red Hat | Logging Subsystem for Red Hat OpenShift 6.0 | 1785418855 |
| wolfi | datadog-agent-7.80 | 0 |
…and 487 more
Timeline
- Apr 27, 2026 CVE Published
- May 4, 2026 PoC Published (2 in total, the first dated here)
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory (63 in total, the first dated here)
- Jul 2, 2026 Distribution Patch (62 in total, the first dated here)
- Jul 14, 2026 CVE Updated
- Aug 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-42151
vulnetix vdb fixes CVE-2026-42151
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-42151/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj x_refsource_CONFIRM
- https://github.com/prometheus/prometheus/pull/18587 x_refsource_MISC
- https://github.com/prometheus/prometheus/pull/18590 x_refsource_MISC
- https://github.com/prometheus/prometheus/releases/tag/v3.11.3 x_refsource_MISC
- https://github.com/prometheus/prometheus/releases/tag/v3.5.3 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-42151 advisory
- https://github.com/advisories/GHSA-wg65-39gg-5wfj advisory
- https://access.redhat.com/security/cve/CVE-2026-42151 vdb
- RHBZ#2466507 issue
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42151.json url
- https://access.redhat.com/errata/RHSA-2026:41019 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:36796 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53413 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34357 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53412 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53415 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34359 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:56340 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:47952 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:50843 vendor-advisory
…and 39 more