PT-2026-48539 · Unknown · Opentelemetry-Operator
CVE-2026-47701
·
Published
2026-06-10
·
Updated
2026-07-30
CVSS v3.1
7.7
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
opentelemetry-operator (affected versions not specified)
Description
The TargetAllocator in the OpenTelemetry Operator processes
ServiceMonitor resources and converts endpoints into Prometheus scrape configurations. A tenant with permissions to create or update a ServiceMonitor can specify the bearerTokenFile parameter to point to sensitive files on the Collector pod's filesystem, such as /var/run/secrets/kubernetes.io/serviceaccount/token. During the scrape process, the OpenTelemetry Collector reads the contents of the specified file and sends it as a Bearer token to a target controlled by the attacker. This allows an attacker to steal the Collector pod's service account JWT or read any other file accessible to the pod, potentially enabling unauthorized access to the Kubernetes API depending on the permissions granted to the Collector's service account.Recommendations
Enable the
DenyFSAccessThroughSMs setting to ensure the Target Allocator drops ServiceMonitor and PodMonitor endpoints that reference arbitrary files on the file system, specifically those using bearerTokenFile, tlsConfig.caFile, tlsConfig.certFile, or tlsConfig.keyFile.Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Opentelemetry-Operator