CVE-2026-42151
HIGH7.5EPSS 0.01%Prometheus Azure AD remote write OAuth client secret exposed via config API
描述
### Impact Users who use Azure AD remote write with OAuth authentication are impacted. 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. ### Patches The problem has been patched by changing `ClientSecret` in `OAuthConfig` to `Secret`. Users should upgrade to 3.11.3 or 3.5.3 LTS. ### Workarounds Users who can not upgrade can switch to Managed Identity or Workload Identity authentication for Azure AD remote write, which do not involve a client secret.
受影響套件(3)
- Bitnami/prometheusfrom 0, < 3.5.3, >= 3.6.0, < 3.11.3
- Debian/prometheusfrom 0
- Go/github.com/prometheus/prometheus>= 0.45.2, < 0.311.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |
參考連結(8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-42151
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-42151
- PATCHhttps://github.com/prometheus/prometheus
- WEBhttps://github.com/prometheus/prometheus/pull/18587
- WEBhttps://github.com/prometheus/prometheus/pull/18590
- WEBhttps://github.com/prometheus/prometheus/releases/tag/v3.11.3
- WEBhttps://github.com/prometheus/prometheus/releases/tag/v3.5.3
- WEBhttps://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj