CVE-2026-75889

CVE-2026-75889 CVE Record

Published Aug 27, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Weaknesses CWE-200
CWE-284
Type Values Removed Values Added
Weaknesses CWE-552
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Weaknesses CWE-200
CWE-284
Type Values Removed Values Added
First Time appeared Grafana
Grafana alloy
Vendors & Products Grafana
Grafana alloy
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'}

Weaknesses
  • CWE-552

    Files or Directories Accessible to External Parties

Sources

Status
PUBLISHED
Assigner
GRAFANA
Published
Updated
Aug 28, 2026, 4:55 PM
Reserved
Aug 18, 2026, 1:48 PM
Status
Awaiting Analysis
Published
Aug 27, 2026, 8:18 PM
Modified
Aug 31, 2026, 6:50 PM