CVE-2026-42151

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductPrometheus
PublishedMay 4, 2026
First seenMay 4, 2026

How to fix

Affected products

ProductAffected versionsFixed in
prometheus prometheus2.48.0 ≤ v < 3.5.3, 3.6.0 ≤ v < 3.11.33.5.3, 3.11.3
github.com/prometheus/prometheusGo0.45.2 ≤ v < 0.311.30.311.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.