Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-47701
Published:June 12, 2026
Updated:June 16, 2026
Affected Repository: github.com/open-telemetry/opentelemetry-operator Component: cmd/otel-allocator (TargetAllocator) Companion: Prometheus Operator API types (CRDs) Summary OpenTelemetry Operator's TargetAllocator watches "ServiceMonitor" resources via the Prometheus Operator CR watcher and converts each selected endpoint into a Prometheus scrape configuration entry. The endpoint field "bearerTokenFile" is preserved through the conversion as "HTTPClientConfig.Authorization.CredentialsFile". The OpenTelemetry Collector, configured with the Prometheus receiver, then loads that scrape config and, at scrape time, reads the file from its own pod filesystem and sends the contents as "Authorization: Bearer ..." to the scrape endpoint. A tenant who can create or update a "ServiceMonitor" selected by TargetAllocator can set "bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token" and a scrape target the tenant controls. The Collector then ships its mounted service account JWT to that target on every scrape interval. The Prometheus Operator project addressed the same primitive via the "ArbitraryFSAccessThroughSMs.Deny" admission/runtime guard. Preconditions The OpenTelemetry Collector needs to be deployed with "targetAllocator.prometheusCR.enabled: true" and "serviceMonitorSelector" / "serviceMonitorNamespaceSelector" matching at least one namespace where the attacker can create or update "ServiceMonitor" (or paired with a TargetAllocator resource with the same respective settings). The Collector pod needs to have its service account token mounted. The Collector needs to be able to reach the scrape target chosen by the attacker. Impact Tenant "ServiceMonitor" write becomes equivalent to the OpenTelemetry Collector pod's service account against the Kubernetes API. Real impact depends on what the Collector service account is granted in a given deployment. Typical cluster monitoring setups grant pod, node, endpoint, namespace, and service list across the cluster, which is enough to enumerate and identify further targets. The same primitive can read any file the Collector pod has on disk including mounted certificates and other tokens. Fix https://github.com/open-telemetry/opentelemetry-operator/pull/5104 adds support to disable service and podmonitor endpoints that read arbitrary files. "DenyFSAccessThroughSMs" causes the Target Allocator to drop ServiceMonitor and PodMonitor endpoints that reference arbitrary files on the file system. When enabled, endpoints with bearerTokenFile, tlsConfig.caFile, tlsConfig.certFile, or tlsConfig.keyFile are dropped from the produced scrape configuration while the remaining endpoints are kept. This prevents tenants from stealing the Collector's service account token via ServiceMonitor bearerTokenFile references. This is the equivalent of "ArbitraryFSAccessThroughSMs.Deny" from the Prometheus Operator.
Affected Packages
https://github.com/open-telemetry/opentelemetry-operator.git (GITHUB):
Affected version(s) >=v0.0.1 <v0.152.0
Fix Suggestion:
Update to version v0.152.0
github.com/open-telemetry/opentelemetry-operator (GO):
Affected version(s) >=v0.0.0-20221107130701-6b9e52f85025 <v0.152.0
Fix Suggestion:
Update to version v0.152.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Exposure of Sensitive Information to an Unauthorized Actor
EPSS
Base Score:
0.02