Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
open-telemetry opentelemetry-go
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OpenTelemetry-Go 是 OpenTelemetry 的 Go 语言实现。在版本 0.21.0 之前, 包通过 将环境变量 、 以及相关的客户端证书环境变量加载到 中,但 在创建 gRPC 传输层凭据时并未应用 。仅依赖环境的 TLS 配置路径实际上使用了 ,其中采用系统默认证书根(system roots),且未加载配置中的客户端证书,从而绕过了预期的私有 CA 固定(pinning)和双向 TLS(mTLS)保护,除非应用程序额外提供了 。能够拦截或伪装收集器(collector)连接的攻击者,若使

CVSS 6.3 · Medium EPSS 0.20% · P9

Possible ATT&CK Techniques 1 AI

T1131

Affected Version Matrix 1

VendorProduct Version RangeStatus
open-telemetry opentelemetry-go < 0.21.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-81871

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OpenTelemetry-Go: Log gRPC exporter ignores env TLS certs, bypassing mTLS/pinning
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
证书验证不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
open-telemetry opentelemetry-go < 0.21.0 -

II. Public POCs for CVE-2026-81871

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-81871

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-81871 (1)

Other References for CVE-2026-81871 (2)

Same Patch Batch · open-telemetry · 2026-09-16 · 4 CVEs total

CVE-2026-81872 6.3 MEDIUM OpenTelemetry-Go: BatchProcessor can busy-spin when export buffer is full
CVE-2026-81869 5.1 MEDIUM OpenTelemetry-Go: UTF-8 replacement rune bypasses attribute length truncation
CVE-2026-81870 2.0 LOW OpenTelemetry-Go: Exporter config logging may leak endpoint URLs in info logs

IV. Related Vulnerabilities