CVE Catalog

CVE-2026-47701

HighCVSS 7.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.46%

37th percentile - higher than 37% of all known CVEs

Summary

In OpenTelemetry Operator prior to 0.152.0, TargetAllocator instances with targetAllocator.prometheusCR.enabled set to true preserve a selected ServiceMonitor endpoint's bearerTokenFile value as HTTPClientConfig.Authorization.CredentialsFile. A tenant who can create or update a ServiceMonitor matched by selectors can point bearerTokenFile at a file in the Collector pod, including the service account token, and direct scraping to a tenant-controlled endpoint, disclosing the Collector's service-account JWT or other mounted files.

Risk Assessment

An attacker can obtain the Collector's service-account JWT or other sensitive files, potentially leading to unauthorized Kubernetes API access within the service account's permissions.

Recommendation

Update OpenTelemetry Operator to version 0.152.0 or later and restrict permissions to create and modify ServiceMonitor resources.

Related vulnerabilities

Original NVD description (English source)

The OpenTelemetry Operator is a Kubernetes Operator for the OpenTelemetry Collector. Prior to 0.152.0, cmd/otel-allocator TargetAllocator instances with targetAllocator.prometheusCR.enabled set to true preserve a selected ServiceMonitor endpoint's bearerTokenFile value as HTTPClientConfig.Authorization.CredentialsFile. A tenant who can create or update a ServiceMonitor matched by serviceMonitorSelector and serviceMonitorNamespaceSelector can point bearerTokenFile at a file in the Collector pod, including /var/run/secrets/kubernetes.io/serviceaccount/token, and direct scraping to a tenant-controlled endpoint. The Collector reads that file at scrape time and sends its contents as bearer authorization on every scrape interval. Exploitation also requires the Collector service-account token or another sensitive file to be mounted and the Collector to reach the chosen target. The DenyFSAccessThroughSMs control was absent, allowing disclosure of the Collector's service-account JWT or other mounted files, and resulting Kubernetes API impact is limited by the Collector service account's permissions. This issue is fixed in version 0.152.0.

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