Description
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.
Published: 2026-08-27
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure and Privilege Escalation
Action: Apply Patch
AI Analysis

Impact

Grafana Alloy’s prometheus.operator.servicemonitors component permits a user who can create or modify ServiceMonitor resources in a watched namespace to specify an arbitrary local file path using the bearerTokenFile field. The component then reads the file and forwards its contents as a bearer token to the designated scrape endpoint. This behavior can expose any file readable by the Alloy process, including the projected Kubernetes service account token, thereby giving the attacker the same Kubernetes permissions as the Alloy service account. The flaw results in potential data leakage and an opportunity for privilege escalation within the cluster.

Affected Systems

The vulnerability affects all Grafana Alloy instances that include the prometheus.operator.servicemonitors component, regardless of release version. Any configuration that allows users to create or modify ServiceMonitor objects in a namespace that Alloy watches is at risk. Attackers only need write access to ServiceMonitor resources in such a namespace; this permission scope is often lower than the privileges of the Alloy service account, making many cluster roles susceptible.

Risk and Exploitability

The CVSS score of 7.7 indicates high severity, while the EPSS score of < 1% shows a very low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. The attack requires internal cluster access to create or edit a ServiceMonitor in a namespace monitored by Alloy; once the attacker’s ServiceMonitor is processed, the arbitrary file content is sent to the target scrape endpoint. This can lead to exfiltration of sensitive files and escalation to the Alloy service account’s Kubernetes roles.

Generated by OpenCVE AI on August 29, 2026 at 00:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to the latest Grafana Alloy release that addresses the bearerTokenFile handling if a vendor patch has been issued.
  • Restrict ServiceMonitor creation and modification in watched namespaces by tightening RBAC rules so that only trusted service accounts have write permissions.
  • If a patch is not yet available, apply an admission controller or webhook that rejects ServiceMonitor objects containing a bearerTokenFile field with arbitrary local file paths, thereby preventing the file from being read and exported.

Generated by OpenCVE AI on August 29, 2026 at 00:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-284

Fri, 28 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-552

Fri, 28 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 28 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-284

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
First Time appeared Grafana
Grafana alloy
Vendors & Products Grafana
Grafana alloy

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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.
Title CVE-2026-75889 CVE Record
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GRAFANA

Published:

Updated: 2026-08-28T16:55:05.074Z

Reserved: 2026-08-18T13:48:17.836Z

Link: CVE-2026-75889

cve-icon Vulnrichment

Updated: 2026-08-28T14:06:58.212Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-27T20:18:37.980

Modified: 2026-08-31T18:50:00.053

Link: CVE-2026-75889

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-29T00:45:04Z

Weaknesses
  • CWE-552

    Files or Directories Accessible to External Parties