CVE-2026-42151: Prometheus is an open-source monitoring system and time series database.
High CVSS 7.5
- CVE id
- CVE-2026-42151
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Prometheus Runtimes and servers |
>= 2.48.0, < 3.5.3 >= 3.6.0, < 3.11.3 |
3.5.3, 3.11.3 |
How to fix it
Upgrade Prometheus to the fixed release of the line you run: 3.5.3, 3.11.3.
prometheus --version
- Upgrade Prometheus (the prom/prometheus image tag) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2026-42151 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-42151
- Web: https://github.com/prometheus/prometheus/pull/18587
- Web: https://github.com/prometheus/prometheus/pull/18590
- Web: https://github.com/prometheus/prometheus/releases/tag/v3.11.3
- Web: https://github.com/prometheus/prometheus/releases/tag/v3.5.3
- Web: https://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj
- Web: https://access.redhat.com/errata/RHSA-2026:25039
- Web: https://access.redhat.com/errata/RHSA-2026:25245
- Web: https://access.redhat.com/errata/RHSA-2026:25504
- Web: https://access.redhat.com/errata/RHSA-2026:34357
- Web: https://access.redhat.com/errata/RHSA-2026:34359
- Web: https://access.redhat.com/errata/RHSA-2026:36651
- Web: https://access.redhat.com/errata/RHSA-2026:36796
- Web: https://access.redhat.com/errata/RHSA-2026:36797
- Web: https://access.redhat.com/errata/RHSA-2026:37267
- Web: https://access.redhat.com/errata/RHSA-2026:37271
- Web: https://access.redhat.com/errata/RHSA-2026:37272
- Web: https://access.redhat.com/errata/RHSA-2026:40118
- Web: https://access.redhat.com/errata/RHSA-2026:40262
- Web: https://access.redhat.com/errata/RHSA-2026:40768
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.