CVE-2026-42151
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
- prometheus prometheus3.5.3, 3.11.3 or later
- github.com/prometheus/prometheus0.311.3 or later
- access.redhat.com/errata/RHSA-2026:41019
- access.redhat.com/errata/RHSA-2026:36796
- access.redhat.com/errata/RHSA-2026:53413
- access.redhat.com/errata/RHSA-2026:34357
- access.redhat.com/errata/RHSA-2026:53412
- access.redhat.com/errata/RHSA-2026:53415
- access.redhat.com/errata/RHSA-2026:34359
- access.redhat.com/errata/RHSA-2026:56340
- access.redhat.com/errata/RHSA-2026:47952
- access.redhat.com/errata/RHSA-2026:50843
- access.redhat.com/errata/RHSA-2026:41030
- access.redhat.com/errata/RHSA-2026:44622
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| prometheus prometheus | 2.48.0 ≤ v < 3.5.3, 3.6.0 ≤ v < 3.11.3 | 3.5.3, 3.11.3 |
| github.com/prometheus/prometheusGo | 0.45.2 ≤ v < 0.311.3 | 0.311.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.