Prometheus versions through 3.15.1 have a credential leak vulnerability where attackers can capture Azure AD or Google IAM bearer tokens by exploiting remote_write request redirects. An attacker controlling the remote-write endpoint or a redirecting server can issue a 3xx redirect to their own host and replay the token, potentially writing metrics to the victim's backend.