CVE-2026-42151

HIGH

Prometheus Azure AD remote write OAuth client secret exposed via config API

Title source: cna
STIX 2.1

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.

References (37)

Core 37
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/prometheus/prometheus/pull/18587
X_Refsource_Misc x_refsource_misc
https://github.com/prometheus/prometheus/pull/18590

Scores

CVSS v3 7.5
EPSS 0.0035
EPSS Percentile 27.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-200 CWE-256 CWE-312
Status published
Products (4)
prometheus/prometheus 0.45.2 - 0.311.3Go
prometheus/prometheus 2.48.0 - 3.5.3
prometheus/prometheus < 3.5.3
prometheus/prometheus >= 3.6.0, < 3.11.3
Published May 04, 2026
Tracked Since May 05, 2026