CVE-2026-81871
Published:September 16, 2026
Updated:September 22, 2026
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
https://github.com/open-telemetry/opentelemetry-go.git (GITHUB):
Affected version(s) >=exporters/otlp/otlplog/otlploggrpc/v0.5.0 <exporters/otlp/otlplog/otlploggrpc/v0.21.0Fix Suggestion:
Update to version exporters/otlp/otlplog/otlploggrpc/v0.21.0go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc (GO):
Affected version(s) >=v0.5.0 <v0.21.0Fix Suggestion:
Update to version v0.21.0go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc (GO):
Affected version(s) >=v0.0.0-20240425165724-fb697e8a8b3b <v0.21.0Fix Suggestion:
Update to version v0.21.0Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.20