CVE-2026-42151

published 4 May 2026 · updated 11 Nov 2026

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

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.5.3 and 3.11.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
prometheusprometheus>=2.48.0 <3.5.3, >=3.6.0 <3.11.33.5.3, 3.11.3
prometheus<3.5.3, >=3.6.0 <3.11.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-42151 severity on Zeptric[![CVE-2026-42151](https://zeptric.io/badge/cve/CVE-2026-42151.svg)](https://zeptric.io/cve/CVE-2026-42151)