Vulnerability · Published Sep 16, 2026 · Assigned by GitHub_M

CVE-2026-81871OpenTelemetry-Go: Log gRPC exporter ignores env TLS certs, bypassing mTLS/pinning

Medium 6.3

In plain English

A medium-severity improper certificate validation in opentelemetry-go from open-telemetry. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.2%top 90.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

OpenTelemetry-Go is the Go implementation of OpenTelemetry. Prior to version 0.21.0, the exporters/otlp/otlplog/otlploggrpc package loads OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE, OTEL_EXPORTER_OTLP_CERTIFICATE, and related client certificate environment variables through loadEnvTLS into cfg.tlsCfg, but newGRPCDialOptions does not apply cfg.tlsCfg when creating gRPC transport credentials. The environment-only TLS path instead uses credentials.NewTLS with system roots and no configured client certificate, bypassing intended private CA pinning and mutual TLS unless the application also supplies WithTLSCredentials. A network attacker able to intercept or spoof the collector connection with a system-trusted certificate can read or alter log telemetry. This issue is fixed in version 0.21.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13golang-opentelemetry-otelno fix listedDEBIAN-CVE-2026-81871
Debian:14golang-opentelemetry-otelno fix listedDEBIAN-CVE-2026-81871
Gogo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc0.21.0GHSA-w34q-cm8f-9c5x
Gogo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc0.21.0GO-2026-6508
Ubuntu:22.04:LTSgolang-opentelemetry-otelno fix listedUBUNTU-CVE-2026-81871
Ubuntu:24.04:LTSgolang-opentelemetry-otelno fix listedUBUNTU-CVE-2026-81871
Ubuntu:26.04:LTSgolang-opentelemetry-otelno fix listedUBUNTU-CVE-2026-81871
Ubuntu:26.10golang-opentelemetry-otelno fix listedUBUNTU-CVE-2026-81871

Affected products (as reported)

VendorProductVersions
open-telemetry opentelemetry-go < 0.21.0

Weakness: CWE-295, CWE-923 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

References