PatchSiren cyber security CVE debrief
CVE-2026-42151 prometheus CVE debrief
CVE-2026-42151 is a high-severity vulnerability in Prometheus, an open-source monitoring system. The issue arises from the client_secret field in the Azure AD remote write OAuth configuration being typed as a string instead of a Secret. This causes the Azure OAuth client secret to be exposed in plaintext via the /-/config HTTP API endpoint. The vulnerability has been patched in versions 3.5.3 and 3.11.3.
- Vendor
- prometheus
- Product
- Unknown
- CVSS
- HIGH 7.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-05-04
- Original CVE updated
- 2026-09-10
- Advisory published
- 2026-05-04
- Advisory updated
- 2026-09-10
Who should care
Defenders responsible for Prometheus instances, especially those using Azure AD remote write OAuth, should assess their exposure and apply patches or mitigations to prevent unauthorized access to sensitive configuration information.
Why it matters
CVE-2026-42151 is a high-severity vulnerability in Prometheus that exposes the Azure OAuth client secret in plaintext, allowing potential unauthorized access to sensitive configuration information. Defenders should prioritize verifying exposure and applying patches or mitigations.
- Verify exposure of Azure OAuth client secret via the /-/config HTTP API endpoint.
- Apply patches or mitigations to prevent unauthorized access to sensitive configuration information.
- Review and update configuration to ensure sensitive information is properly secured.
Technical summary
The client_secret field in the Azure AD remote write OAuth configuration of Prometheus was incorrectly typed as a string instead of a Secret. This led to the exposure of the Azure OAuth client secret in plaintext via the /-/config HTTP API endpoint. The issue has been resolved in versions 3.5.3 and 3.11.3 by correcting the field type to Secret, which redacts the field when served via the API endpoint.
Defensive priority
Defenders should prioritize verifying exposure and applying patches or mitigations to prevent unauthorized access to sensitive configuration information.
Recommended defensive actions
- Verify exposure by checking if the Prometheus instance is configured to use Azure AD remote write OAuth and if the client_secret field is typed as a string.
- Apply patches or mitigations by upgrading to versions 3.5.3 or 3.11.3, or later.
- Review and update configuration to ensure sensitive information is properly secured and not exposed via the /-/config HTTP API endpoint.
- Perform a thorough review of the Prometheus configuration to identify potential security risks.
- Implement additional monitoring to detect potential unauthorized access to sensitive configuration information.
- Conduct a security audit to ensure that all sensitive information is properly secured.
- Document and track the remediation process for future reference.
Evidence notes
The CVE record and NVD vulnerability detail page provide information on the vulnerability, its impact, and available patches. Multiple source references, including GitHub pull requests and release notes, support the details of the vulnerability and its resolution.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-42151 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-42151
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-42151 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-42151
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/prometheus/prometheus/pull/18587
[email protected] - Issue Tracking, Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/prometheus/prometheus/pull/18590
[email protected] - Issue Tracking, Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/prometheus/prometheus/releases/tag/v3.11.3
[email protected] - Release Notes
-
Source reference
Unverified legacy reference
URL: https://github.com/prometheus/prometheus/releases/tag/v3.5.3
[email protected] - Release Notes
-
Source reference
Unverified legacy reference
URL: https://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj
[email protected] - Vendor Advisory
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/errata/RHSA-2026:25039
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/errata/RHSA-2026:25245
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
-
Source reference
Unverified legacy reference
URL: https://access.redhat.com/errata/RHSA-2026:25504
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.