CVE-2026-42151
Prometheus Azure AD remote write OAuth client secret exposed via config API
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.
How to fix CVE-2026-42151
To remediate CVE-2026-42151, upgrade the affected package to a fixed version below.
- —upgrade to 3.5.3 or later
- —no fix listed
- —upgrade to 0.311.3 or later
Is CVE-2026-42151 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 3.5.3, >= 3.6.0, < 3.11.3
- from 0
- >= 0.45.2, < 0.311.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |