# CVE-2026-47701: OpenTelemetry Operator: ServiceMonitor bearerTokenFile reads arbitrary local file and sends contents as bearer auth

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-06-10T17:24:01.000Z
- Modified: 2026-09-25T14:23:59.847Z
- Also known as: GHSA-cxh2-4639-vmc5, GO-2026-5339
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- open-telemetry opentelemetry-operator: < 0.152.0
- github.com/open-telemetry/opentelemetry-operator (Go): before 0.152.0

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/open-telemetry/opentelemetry-operator/security/advisories/GHSA-cxh2-4639-vmc5> (advisory, web)
- <https://github.com/open-telemetry/opentelemetry-operator/pull/5104> (fix, web)
- <https://github.com/open-telemetry/opentelemetry-operator/commit/95a8c2a3dc64a762d3ab8eba8c903b5702a03a9c>
- <https://github.com/open-telemetry/opentelemetry-operator/releases/tag/v0.152.0>
- <https://github.com/open-telemetry/opentelemetry-operator> (package)

## Sources

- CVE List: [CVE-2026-47701](https://www.cve.org/CVERecord?id=CVE-2026-47701), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-cxh2-4639-vmc5](https://github.com/advisories/GHSA-cxh2-4639-vmc5), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5339](https://pkg.go.dev/vuln/GO-2026-5339), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-47701](https://nvd.nist.gov/vuln/detail/CVE-2026-47701), Public domain, modified 2026-09-25

---

Page: https://cve.day/CVE-2026-47701 · Whole record: https://cve.day/CVE-2026-47701.json · Rebuilt by cve.day 2026-11-25T22:59:38.291Z
