CVE-2026-42151
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| prometheus | prometheus | < 3.5.3 | affected |
| prometheus | prometheus | >= 3.6.0, < 3.11.3 | affected |
Weaknesses
- CWE-200: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-312: CWE-312: Cleartext Storage of Sensitive Information
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
github.com/prometheus/prometheus: Prometheus: Information disclosure of Azure OAuth client secret via config API
Additional References
- https://access.redhat.com/security/cve/CVE-2026-42151
- https://bugzilla.redhat.com/show_bug.cgi?id=2466507
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42151.json
- https://access.redhat.com/errata/RHSA-2026:34357
- https://access.redhat.com/errata/RHSA-2026:34359
- https://access.redhat.com/errata/RHSA-2026:25039
- https://access.redhat.com/errata/RHSA-2026:25504
- https://access.redhat.com/errata/RHSA-2026:25245
References
- https://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj
- https://github.com/prometheus/prometheus/pull/18587
- https://github.com/prometheus/prometheus/pull/18590
- https://github.com/prometheus/prometheus/releases/tag/v3.11.3
- https://github.com/prometheus/prometheus/releases/tag/v3.5.3
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.