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

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-09-16T20:43:40.119Z
- Modified: 2026-09-30T17:31:44.573Z
- Also known as: GHSA-w34q-cm8f-9c5x, GO-2026-6508
- Weaknesses: CWE-295, CWE-923
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- open-telemetry opentelemetry-go: < 0.21.0
- go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc (Go): before 0.21.0

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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

- <https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-w34q-cm8f-9c5x> (advisory, web)
- <https://github.com/open-telemetry/opentelemetry-go/commit/c65d435b43e5e6b82310e6b18dd4cdcb8ac63a0c> (web)
- <https://github.com/open-telemetry/opentelemetry-go/releases/tag/exporters/otlp/otlplog/otlploggrpc/v0.21.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-81871> (advisory)
- <https://github.com/open-telemetry/opentelemetry-go> (package)

## Sources

- CVE List: [CVE-2026-81871](https://www.cve.org/CVERecord?id=CVE-2026-81871), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-w34q-cm8f-9c5x](https://github.com/advisories/GHSA-w34q-cm8f-9c5x), CC-BY-4.0, modified 2026-09-28
- Go Vulnerability Database: [GO-2026-6508](https://pkg.go.dev/vuln/GO-2026-6508), CC-BY-4.0, modified 2026-09-28
- NVD: [CVE-2026-81871](https://nvd.nist.gov/vuln/detail/CVE-2026-81871), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-81871 · Whole record: https://cve.day/CVE-2026-81871.json · Rebuilt by cve.day 2026-11-25T22:59:39.159Z
