Skip to main content

OpenTelemetry Operator CVE-2026-47701

| EUVDEUVD-2026-77578 HIGH
Information Exposure (CWE-200)
2026-06-10 https://github.com/open-telemetry/opentelemetry-operator GHSA-cxh2-4639-vmc5
7.7
CVSS 3.1 · Vendor: https://github.com/open-telemetry/opentelemetry-operator
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain tenant ServiceMonitor write in watched namespace
  2. Delivery
    Stand up attacker-controlled HTTPS scrape target
  3. Exploit
    Create ServiceMonitor with bearerTokenFile pointing to serviceaccount token
  4. Install
    TargetAllocator converts endpoint to Prometheus scrape config
  5. C2
    Collector reads file and sends contents as bearer token
  6. Execute
    Capture JWT and replay against Kubernetes API
  7. Impact
    Enumerate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

opentelemetry-operator < 0.152.0

Affected Packages

go github.com/open-telemetry/opentelemetry-operator fix: 0.152.0
euvd opentelemetry_operator fix: 0.152.0

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

Vendor (https://github.com/open-telemetry/opentelemetry-operator) PRIMARY 7.7 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
SUSE HIGH
Red Hat 7.7 HIGH

Primary rating from Vendor (https://github.com/open-telemetry/opentelemetry-operator).

CVSS VectorVendor: https://github.com/open-telemetry/opentelemetry-operator

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

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

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy