Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain tenant ServiceMonitor write in watched namespace
-
DeliveryStand up attacker-controlled HTTPS scrape target
-
ExploitCreate ServiceMonitor with bearerTokenFile pointing to serviceaccount token
-
InstallTargetAllocator converts endpoint to Prometheus scrape config
-
C2Collector reads file and sends contents as bearer token
-
ExecuteCapture JWT and replay against Kubernetes API
-
ImpactEnumerate cluster resources via Collector ServiceAccount RBAC
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the OpenTelemetry Operator to be deployed with targetAllocator.prometheusCR.enabled: true and a serviceMonitorSelector or serviceMonitorNamespaceSelector that matches at least one namespace in which the attacker holds Kubernetes RBAC permission to create or update a ServiceMonitor (or PodMonitor) resource - equivalently, a TargetAllocator CR with matching selectors. The OpenTelemetry Collector pod must have its Kubernetes service account token mounted (the default for in-cluster pods unless automountServiceAccountToken is explicitly disabled), and the Collector pod must have network egress reachability to the scrape target chosen by the attacker, which can be any cluster-internal endpoint the attacker controls. Limiting factors: the attack is bounded to clusters running OpenTelemetry Operator < 0.152.0 with the Prometheus CR feature enabled, requires authenticated namespace-scoped tenant access (PR:L), and yields only files readable by the Collector pod - single-tenant clusters or deployments that already restrict ServiceMonitor write access to platform operators are not exposed. |
| Impact | The CVSS 3.1 base score of 7.7 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N) accurately captures the risk profile: network-reachable, low complexity, requires low privileges (tenant ServiceMonitor write in a watched namespace), no user interaction, and scope-changed confidentiality impact reflecting that compromise of one tenant's permissions yields the Collector's cluster-wide service account. There is no EPSS score, KEV listing, or public POC at time of analysis, so this is not yet a mass-exploitation concern - but the attack is mechanically trivial (a single CRD write) and the technique is documented through the equivalent Prometheus Operator issue, lowering the barrier for a knowledgeable insider or compromised tenant. Real-world severity hinges on the Collector ServiceAccount's RBAC: typical cluster-monitoring deployments grant cluster-wide list permissions on pods, nodes, endpoints, namespaces, and services, which is enough for reconnaissance and lateral targeting; deployments where the Collector also mounts additional secrets or certificates face broader exposure since the same primitive reads any file on the Collector pod. The Confidentiality:H / Integrity:N / Availability:N split is consistent with an information disclosure (CWE-200) rather than direct code execution, so prioritize this for multi-tenant clusters where untrusted users can create ServiceMonitor resources. |
| Exploit ScenarioDerived | A developer with namespace-scoped Kubernetes credentials in a multi-tenant cluster running the OpenTelemetry Operator creates a ServiceMonitor with bearerTokenFile set to /var/run/secrets/kubernetes.io/serviceaccount/token and an endpoint pointing at an HTTPS listener they control on the cluster network. Within one scrape interval the OpenTelemetry Collector pod reads its own mounted service account JWT and transmits it as an Authorization: Bearer header to the attacker, who then replays the token against the Kubernetes API to enumerate pods, nodes, secrets, or other resources granted to the Collector ServiceAccount. No public exploit is identified at the time of analysis, but the equivalent Prometheus Operator primitive is publicly documented and the technique is straightforward to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 10, 2026
Service account token disclosure in OpenTelemetry Operator's TargetAllocator (versions prior to 0.152.0) allows a tenant with ServiceMonitor write permissions in a watched namespace to exfiltrate the OpenTelemetry Collector pod's mounted Kubernetes service account JWT or any other file on the Collector's filesystem. By setting the bearerTokenFile field on a ServiceMonitor to an arbitrary path (such as /var/run/secrets/kubernetes.io/serviceaccount/token) and pointing the scrape target to an attacker-controlled endpoint, the Collector reads the file and ships its contents as an Authorization: Bearer header on every scrape interval. No public exploit is identified at the time of analysis, though the technique mirrors a well-known Prometheus Operator primitive (ArbitraryFSAccessThroughSMs).
RemediationAI
Vendor-released patch: upgrade the OpenTelemetry Operator to version 0.152.0 or later, which introduces the DenyFSAccessThroughSMs field on both v1alpha1 OpenTelemetryCollector and v1beta1 TargetAllocator CRDs (see https://github.com/open-telemetry/opentelemetry-operator/pull/5104) - set targetAllocator.prometheusCR.denyFSAccessThroughSMs: true (mirroring Prometheus Operator's ArbitraryFSAccessThroughSMs.Deny) so the TargetAllocator drops any ServiceMonitor or PodMonitor endpoint referencing bearerTokenFile, tlsConfig.caFile, tlsConfig.certFile, or tlsConfig.keyFile while preserving the remaining endpoints. If immediate upgrade is not possible, narrow serviceMonitorSelector and serviceMonitorNamespaceSelector so that only operator-controlled namespaces (no tenant write access) are matched - trade-off: tenants lose self-service scrape configuration. Alternatively, restrict ServiceMonitor/PodMonitor create/update RBAC permissions to trusted operators only via Kubernetes RBAC or an admission controller (OPA/Kyverno) that rejects bearerTokenFile/tlsConfig.*File fields on tenant-submitted resources - trade-off: requires policy maintenance and may break legitimate workflows. As a defense-in-depth step, audit and minimize the Collector ServiceAccount's RBAC to the least privilege required for its receivers, since the bearer token disclosed by this flaw inherits exactly those rights. Full advisory and patch details: https://github.com/open-telemetry/opentelemetry-operator/security/advisories/GHSA-cxh2-4639-vmc5.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The OpenTelemetry Operator's TargetAllocator (cmd/otel-allocator) watches Prometheus Operator CRDs - specifically ServiceMonitor and PodMonitor resources - and translates each selected endpoint into a Prometheus scrape configuration entry consumed by the Collector's Prometheus receiver. During this conversion, the endpoint's bearerTokenFile field is faithfully preserved as HTTPClientConfig.Authorization.CredentialsFile, and at scrape time the Collector pod (not the tenant) opens that path on its own filesystem and transmits the contents as a bearer token. The root cause aligns with CWE-200 (Exposure of Sensitive Information): the operator treats the file path as trusted scrape config when it is actually attacker-controlled tenant input crossing a trust boundary. The affected Go module is github.com/open-telemetry/opentelemetry-operator (pkg:go/github.com_open-telemetry_opentelemetry-operator), and the Prometheus Operator project mitigated the equivalent primitive years ago via the ArbitraryFSAccessThroughSMs.Deny guard, which this fix ports as DenyFSAccessThroughSMs.
Know when Kubernetes gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Primary rating from Vendor (https://github.com/open-telemetry/opentelemetry-operator).
CVSS VectorVendor: https://github.com/open-telemetry/opentelemetry-operator
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
OpenTelemetry Operator versions prior to 0.152.0 enable unauthorized credential escalation in Kubernetes environments. Users with ServiceMonitor write permissions can extract service account tokens and achieve cluster-wide access, creating significant risk for infrastructure compromise and lateral movement. This affects all organizations running vulnerable versions where operational users have limited-scope permissions.
Apply vendor patch: OpenTelemetry Operator 0.152.0 or later. Until patched, restrict ServiceMonitor write permissions to a minimal, audited set of users and enable monitoring on ServiceMonitor creation and modification events.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Kubernetes
View allA critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c
Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter
A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne
Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai
The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4
Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
Same weakness CWE-200 – Information Exposure
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-77578
GHSA-cxh2-4639-vmc5
NVD
CVE.org
EPSS
Exploit-DB