CVE-2026-81871
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpcGo | < 0.21.0 | 0.21.0 |
Affected products
8(expand)+ 1 more
- (no CPE)
- (no CPE)range: <0.21.0
- osv-coords6 versionspkg:rpm/opensuse/alloy&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/distribution&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/distribution&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/helm&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/helm&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/helm3&distro=openSUSE%20Tumbleweed
< 1.20.1-1.1+ 5 more
- (no CPE)range: < 1.20.1-1.1
- (no CPE)range: < 3.1.1-160000.4.1
- (no CPE)range: < 3.1.1-8.1
- (no CPE)range: < 4.3.0-160000.1.1
- (no CPE)range: < 4.3.0-3.1
- (no CPE)range: < 3.22.0-2.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-w34q-cm8f-9c5xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-81871ghsaADVISORY
- github.com/open-telemetry/opentelemetry-go/commit/c65d435b43e5e6b82310e6b18dd4cdcb8ac63a0cnvdWEB
- github.com/open-telemetry/opentelemetry-go/releases/tag/exporters/otlp/otlplog/otlploggrpc/v0.21.0nvdWEB
- github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-w34q-cm8f-9c5xnvdWEB
News mentions
0No linked articles in our index yet.