CVE-2026-42151

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*
cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*

History

11 May 2026, 17:22

Type Values Removed Values Added
First Time Prometheus prometheus
Prometheus
CPE cpe:2.3:a:prometheus:prometheus:*:*:*:*:*:*:*:*
References () https://github.com/prometheus/prometheus/pull/18587 - () https://github.com/prometheus/prometheus/pull/18587 - Issue Tracking, Patch
References () https://github.com/prometheus/prometheus/pull/18590 - () https://github.com/prometheus/prometheus/pull/18590 - Issue Tracking, Patch
References () https://github.com/prometheus/prometheus/releases/tag/v3.11.3 - () https://github.com/prometheus/prometheus/releases/tag/v3.11.3 - Release Notes
References () https://github.com/prometheus/prometheus/releases/tag/v3.5.3 - () https://github.com/prometheus/prometheus/releases/tag/v3.5.3 - Release Notes
References () https://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj - () https://github.com/prometheus/prometheus/security/advisories/GHSA-wg65-39gg-5wfj - Vendor Advisory

04 May 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-04 19:16

Updated : 2026-05-11 17:22


NVD link : CVE-2026-42151

Mitre link : CVE-2026-42151

CVE.ORG link : CVE-2026-42151


JSON object : View

Products Affected

prometheus

  • prometheus
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

CWE-312

Cleartext Storage of Sensitive Information