Description
Prometheus through 3.15.1 contains a credential leak vulnerability that allows attackers to capture Azure AD or Google IAM bearer tokens by redirecting remote_write requests to another host. Attackers controlling the remote-write endpoint or a redirecting server can return a 3xx to their host and replay the token, for example to write metrics to the victim's backend.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| prometheus | prometheus | ≤ 3.15.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-prometheus-common | 0.69.0-1 | — |
| Debian 13 | golang-github-prometheus-common | No fix yet | — |
| Debian 12 | golang-github-prometheus-common | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | golang-github-prometheus-common | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-prometheus-common | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-prometheus-common | No fix yet | — |
| Ubuntu 20.04 LTS | golang-github-prometheus-common | No fix yet | — |
| Ubuntu 18.04 LTS | golang-github-prometheus-common | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | golang-github-prometheus-common | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | telegraf | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | prometheus-3.11 +1 | No fix yet | — |
References
- https://github.com/prometheus/prometheus/blob/v3.15.1/storage/remote/azuread/azuread.go#L326-L333 technical-description
- https://github.com/prometheus/prometheus/blob/v3.15.1/storage/remote/client.go#L205-L216 technical-description
- https://github.com/prometheus/common/pull/901 related patch issue-tracking
- https://abraxaslabs.tech/research/prometheus-bearer-redirect third-party-advisory
- https://github.com/prometheus/prometheus product
- VulnCheck Advisory: Prometheus through 3.15.1 Credential Leak via remote_write Cross-Host Redirects third-party-advisory