CVE-2026-42151
Last modified
CVE-2026-42151 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Prometheus | Prometheus | >= 2.48.0, < 3.5.3 |
| Prometheus | Prometheus | >= 3.6.0, < 3.11.3 |
References
- https://github.com/prometheus/prometheus/pull/18587Issue Tracking, Patch
- https://github.com/prometheus/prometheus/pull/18590Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42151?
How severe is CVE-2026-42151?
How do I fix CVE-2026-42151?
Are you affected by CVE-2026-42151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
