Insufficiently Protected Credentials Affecting github.com/prometheus/prometheus/storage/remote/azuread package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.2% (11th 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-22113895
  • published1 Nov 2026
  • disclosed11 Oct 2026
  • creditUnknown

Introduced: 11 Oct 2026

NewCVE-2026-119566  (opens in a new tab)
CWE-522  (opens in a new tab)

How to fix?

There is no fixed version for github.com/prometheus/prometheus/storage/remote/azuread.

Overview

Affected versions of this package are vulnerable to Insufficiently Protected Credentials on cross-host redirects in the azureADRoundTripper.RoundTrip method (storage/remote/azuread/azuread.go) and the equivalent googleiam round-tripper, which call req.Header.Set("Authorization", "Bearer "+token) on every request. An attacker who controls or intercepts a configured remote_write endpoint can capture the Azure AD or GCP access token by answering with a redirect to a host they control, because storage/remote/client.go layers these round-trippers outside the redirect-aware transport so the token is reattached on each hop. This affects only remote_write configured with azuread: or google_iam:, neither of which is present in a default configuration.

CVSS Base Scores

version 4.0
version 3.1