CVE Catalog

CVE-2026-75889

HighCVSS 7.7
Published: Translated: NVD NIST

Summary

Grafana Alloy's prometheus.operator.servicemonitors component allows a user who can create or modify ServiceMonitor resources in a watched namespace to specify an arbitrary local file through bearerTokenFile. Alloy reads the file and sends its contents as a bearer token to an attacker-controlled scrape endpoint.

Risk Assessment

This may disclose files accessible to the Alloy process, including its projected Kubernetes service account token, potentially granting the attacker Alloy's Kubernetes permissions. Exploitation requires ServiceMonitor write access and lower privileges than Alloy's service account.

Recommendation

Restrict permissions to create/modify ServiceMonitor, validate bearerTokenFile paths, and update Alloy to a patched version if available.

Original NVD description (English source)

Grafana Alloy’s prometheus.operator.servicemonitors component allows a user who can create or modify ServiceMonitor resources in a watched namespace to specify an arbitrary local file through bearerTokenFile. Alloy reads the file and sends its contents as a bearer token to an attacker-controlled scrape endpoint. This may disclose files accessible to the Alloy process, including its projected Kubernetes service account token, potentially granting the attacker Alloy’s Kubernetes permissions. Exploitation requires ServiceMonitor write access and lower privileges than Alloy’s service account.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS