Cleartext Storage of Sensitive Information Affecting github.com/prometheus/prometheus/storage/remote/azuread package, versions <0.305.3>=2.48.0 <3.5.3>=3.6.0-rc.0 <3.11.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMPROMETHEUSPROMETHEUSSTORAGEREMOTEAZUREAD-16419306
  • published5 May 2026
  • disclosed4 May 2026
  • creditbrettgervasoni

Introduced: 4 May 2026

CVE-2026-42151  (opens in a new tab)
CWE-312  (opens in a new tab)

How to fix?

Upgrade github.com/prometheus/prometheus/storage/remote/azuread to version 0.305.3, 3.5.3, 3.11.3 or higher.

Overview

Affected versions of this package are vulnerable to Cleartext Storage of Sensitive Information via the /-/config HTTP API endpoint, where the client_secret field in the Azure AD remote write OAuth configuration was not properly redacted. An attacker can obtain sensitive authentication credentials by accessing this endpoint.

CVSS Base Scores

version 4.0
version 3.1