{"id":"CVE-2026-47701","summary":"OpenTelemetry Operator: ServiceMonitor bearerTokenFile reads arbitrary local file and sends contents as bearer auth","details":"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.","aliases":["GHSA-cxh2-4639-vmc5","GO-2026-5339"],"modified":"2026-09-15T03:48:26.796561824Z","published":"2026-09-14T15:32:56.806Z","related":["openSUSE-SU-2026:21483-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47701.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47701.json"},{"type":"FIX","url":"https://github.com/open-telemetry/opentelemetry-operator/commit/95a8c2a3dc64a762d3ab8eba8c903b5702a03a9c"},{"type":"FIX","url":"https://github.com/open-telemetry/opentelemetry-operator/pull/5104"},{"type":"WEB","url":"https://github.com/open-telemetry/opentelemetry-operator/releases/tag/v0.152.0"},{"type":"ADVISORY","url":"https://github.com/open-telemetry/opentelemetry-operator/security/advisories/GHSA-cxh2-4639-vmc5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47701"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-telemetry/opentelemetry-operator","events":[{"introduced":"0"},{"fixed":"1a9cef0b5db152c3a917cf3fd06dfc9b59890271"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.152.0"}],"source":"AFFECTED_FIELD"}}],"versions":["v0.151.0","v0.150.0","v0.149.0","v0.148.0","v0.147.0","v0.146.0","v0.145.0","v0.144.0","v0.143.0","v0.142.0","v0.141.0","v0.140.0","v0.139.0","v0.138.0","v0.137.0","v0.136.0","v0.135.0","v0.134.0","v0.132.0","v0.131.0","v0.129.1","v0.127.0","v0.126.0","v0.125.0","v0.124.0","v0.123.0","v0.122.0","v0.121.0","v0.120.0","v0.119.0","v0.118.0","v0.117.0","v0.116.0","v0.115.0","v0.114.0","v0.113.1","v0.113.0","v0.112.0","v0.111.0","v0.110.0","v0.109.0","v0.108.0","v0.107.0","v0.106.0","v0.105.0","v0.104.0","v0.103.0","v0.102.0","v0.101.0","v0.100.1","v0.100.0","v0.99.0","v0.98.0","v0.97.1","v0.97.0","v0.96.0","v0.95.0","v0.94.0","v0.93.0","v0.92.1","v0.92.0","v0.91.0","v0.90.0","v0.89.0","v0.88.0","v0.87.0","v0.86.0","v0.85.0","v0.84.0","v0.83.0","v0.82.0","v0.81.0","v0.79.0","v0.78.0","v0.77.0","v0.76.1","v0.75.0","v0.74.0","v0.73.0","v0.72.0","v0.71.0","v0.70.0","v0.69.0","v0.68.0","v0.67.0","v0.66.0","v0.64.1","v0.63.1","v0.61.0","v0.60.0","v0.59.0","v0.58.0","v0.57.2","v0.56.0","v0.55.0","v0.54.0","v0.53.0","v0.52.0","v0.51.0","v0.50.0","v0.49.0","v0.48.0","v0.47.0","v0.46.0","v0.45.0","v0.44.0","v0.43.0","v0.42.0","v0.41.1","v0.41.0","v0.40.0","v0.39.0","v0.38.0","v0.37.1","v0.37.0","v0.36.0","v0.35.0","v0.34.0","v0.33.0","v0.31.0","v0.30.0","v0.29.0","v0.28.0","v0.27.0","v0.25.0","v0.24.0","v0.23.0","v0.22.0","v0.21.0","v0.20.0","v0.19.0","v0.18.1","v0.18.0","v0.17.1","v0.17.0","v0.16.0","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.0","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47701.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"}]}