Quick answers
- Is CVE-2026-81871 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-81871 being exploited in the wild.
- How severe is CVE-2026-81871?
- Medium severity, with a CVSS score of 4, published 16 September 2026.
- Which products and versions are affected?
- go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc (Go) < 0.21.0, SEMVER:introduced=0,fixed=0.21.0; Opentelemetry-Go since commit d99c76f.
- Is there a fix for CVE-2026-81871?
- Yes. go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc (Go): upgrade to 0.21.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-81871 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-81871?
- Check whether you run go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc (Go) or Opentelemetry-Go at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc (Go): upgrade to 0.21.0 or later
go get go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc@v0.21.0
Technical details
The vulnerability is improper TLS certificate validation caused by a code path mismatch in the OTLP log gRPC exporter. The `newConfig` function correctly parses TLS settings (CA certificate, client certificate/key) from environment variables (`OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE`, `OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE`, etc.) into a `cfg.tlsCfg` object, but the `newGRPCDialOptions` function ignores this configuration. When neither explicit gRPC credentials nor the `insecure` flag is set (the normal environment-only configuration path), the code defaults to `credentials.NewTLS(nil)`, which trusts only system root CAs and omits any client certificate. Network attackers can exploit this by presenting a system-trusted certificate for the collector endpoint. The fix requires modifying `newGRPCDialOptions` to apply the loaded `cfg.tlsCfg` when creating gRPC credentials.
Affected products
- OpenTelemetry OpenTelemetry-Go since commit d99c76f
Identifiers
- CVE-2026-81871
- GHSA-w34q-cm8f-9c5x
- GO-2026-6508
Timeline
- 2026-09-17: disclosed: Vulnerability publicly disclosed