Grafana Alloys ServiceMonitor bearerTokenFile LFD
CVE-2026-75889 Published on August 27, 2026

CVE-2026-75889 CVE Record
Grafana Alloys 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 Alloys Kubernetes permissions. Exploitation requires ServiceMonitor write access and lower privileges than Alloys service account.

Vendor Advisory NVD

Weakness Type

Files or Directories Accessible to External Parties

The product makes files or directories accessible to unauthorized actors, even though they should not be. Web servers, FTP servers, and similar servers may store a set of files underneath a "root" directory that is accessible to the server's users. Applications may store sensitive files underneath this root without also using access control to limit which users may request those files, if any. Alternately, an application might package multiple files or directories into an archive file (e.g., ZIP or tar), but the application might not exclude sensitive files that are underneath those directories.


Affected Versions

Grafana Alloy: