Home / prometheus / prometheus / CVE-2026-42151
CVE-2026-42151: is it exploited, and which versions of prometheus are affected and fixed?
CVE-2026-42151 is an information disclosure vulnerability in prometheus. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: github.com/prometheus/prometheus from 0.45.2 before 0.311.3 (GitHub advisory GHSA-wg65-39gg-5wfj). Fixed in 0.311.3 (GitHub advisory GHSA-wg65-39gg-5wfj). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-42151?
Prometheus Azure AD remote write OAuth client secret exposed via config API
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.
From the CVE record by GitHub_M, last updated September 10, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| prometheus | prometheus | < 3.5.3 >= 3.6.0, < 3.11.3 |
As the CVE record by GitHub_M states it, last updated September 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/prometheus/prometheus | >= 0.45.2, < 0.311.3 | 0.311.3 | GHSA-wg65-39gg-5wfj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 9, 2026. Summary: Prometheus Azure AD remote write OAuth client secret exposed via config API.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| prometheus | prometheus | from 2.48.0 before 3.5.3 | application |
| prometheus | prometheus | from 3.6.0 before 3.11.3 | application |
NVD analysis (status Modified), last modified November 11, 2026, 23:10 UTC.
How severe is CVE-2026-42151?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42151 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 4, 2026)
- EPSS
- 0.36% probability of exploitation activity in the next 30 days, percentile 31.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-312 Cleartext Storage of Sensitive Information
- CWE-256 Plaintext Storage of a Password
Where are the vendor advisories and references?
- https://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj x_refsource_CONFIRM
- https://github.com/prometheus/prometheus/pull/18587 x_refsource_MISC
- https://github.com/prometheus/prometheus/pull/18590 x_refsource_MISC
- https://github.com/prometheus/prometheus/releases/tag/v3.11.3 x_refsource_MISC
- https://github.com/prometheus/prometheus/releases/tag/v3.5.3 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-42151 vdb-entry, x_refsource_REDHAT
- RHBZ#2466507 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42151.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:41019 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36796 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53413 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34357 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53412 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53415 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34359 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56340 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:47952 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:50843 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41030 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:44622 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:47149 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53530 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54288 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60387 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60390 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60388 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54427 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60389 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60391 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57191 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60386 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36651 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40945 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40118 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:25039 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:25504 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:25245 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:63103 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60477 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40768 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60441 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41031 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42146 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:43052 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42796 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41066 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40262 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40974 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40970 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40972 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36797 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37272 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:50874 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37267 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37271 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42852 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- April 24, 2026
- Published
- May 4, 2026, 18:12 UTC
- CVE record updated
- September 10, 2026, 12:04 UTC by GitHub_M
- NVD
- Modified, last modified November 11, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect prometheus?
- Oct 30, 2026CVE-2026-119566 prometheus: credentials insufficiently protected
- May 26, 2026CVE-2026-44903 prometheus: cross-site scripting (XSS)
- May 4, 2026CVE-2026-42154 prometheus: denial of service (uncontrolled resource consumption)
- Apr 15, 2026CVE-2026-40179 prometheus: cross-site scripting (XSS)
- May 19, 2021CVE-2021-29622 prometheus: open redirect
Questions about CVE-2026-42151
Is CVE-2026-42151 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.36% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of prometheus are affected by CVE-2026-42151?
github.com/prometheus/prometheus from 0.45.2 before 0.311.3, per the GitHub advisory GHSA-wg65-39gg-5wfj. The tables above give every range the sources list.
Which version fixes CVE-2026-42151?
0.311.3, per the GitHub advisory GHSA-wg65-39gg-5wfj. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-42151?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42151?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.