CVEfocus › CVE database › CVE-2026-81871

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

CVSS 6.3 MediumEPSS 0.3% (higher than 18% of CVEs)Published 2026-09-16Updated 2026-09-17Assigner: GitHub_M

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.

CWE-295CWE-923

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
7Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-opentelemetry-otelFix pendingUBUNTU-CVE-2026-81871
Ubuntu 26.04golang-opentelemetry-otelUnder investigationUBUNTU-CVE-2026-81871
Ubuntu 24.04golang-opentelemetry-otelUnder investigationUBUNTU-CVE-2026-81871
Ubuntu 22.04golang-opentelemetry-otelUnder investigationUBUNTU-CVE-2026-81871
Debian 14golang-opentelemetry-otelFix pendingDEBIAN-CVE-2026-81871
Debian 13golang-opentelemetry-otelFix pendingDEBIAN-CVE-2026-81871
Red Hat Enterprise Linux 10grafanaFix pending
Fix deferred
Red Hat Enterprise Linux 10grafana-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 10opentelemetry-collectorFix pending
Fix deferred
Red Hat Enterprise Linux 9opentelemetry-collectorFix pending
Fix deferred
Go librarygo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpcFixed0.21.0GHSA-w34q-cm8f-9c5x

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.