---
id: "CVE-2026-81870"
kind: "vulnerability"
aliases: ["CVE-2026-81870", "GHSA-8wmf-6v46-5gfg", "GO-2026-6505"]
title: "OpenTelemetry-Go: Exporter config logging may leak endpoint URLs in info logs in go.opentelemetry.io/otel/exporters/otlp/otlptrace"
severity: "low"
cvss: 2.0
epss: 0.00195
exploited: false
status: "open"
category: "package"
products: [{"name": "go.opentelemetry.io/otel/exporters/otlp/otlptrace", "fixed": ["1.45.0"], "affected": ">= 1.5.0, < 1.45.0", "ecosystem": "go"}, {"name": "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc", "fixed": ["1.45.0"], "affected": ">= 1.5.0, < 1.45.0", "ecosystem": "go"}, {"name": "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp", "fixed": ["1.45.0"], "affected": ">= 1.5.0, < 1.45.0", "ecosystem": "go"}, {"name": "go.opentelemetry.io/otel/exporters/zipkin", "fixed": ["1.45.0"], "affected": ">= 1.5.0, < 1.45.0", "ecosystem": "go"}, {"name": "go.opentelemetry.io/otel/sdk", "fixed": ["1.45.0"], "affected": ">= 1.5.0, < 1.45.0", "ecosystem": "go"}]
ecosystems: ["go"]
tags: ["go", "opentelemetry", "otlp", "package", "zipkin"]
not_affected_if: ["default-logger", "no-otel-setlogger", "versions-1.45.0-or-later"]
published_at: "2026-09-16T20:17:32+00:00"
first_seen_at: "2026-10-23T19:13:08+00:00"
updated_at: "2026-10-23T21:49:25+00:00"
sources: [{"source": "govuln", "url": "https://pkg.go.dev/vuln/GO-2026-6505", "first_seen_at": "2026-10-23T19:13:08+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-81870", "first_seen_at": "2026-10-23T19:13:43+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-81870", "first_seen_at": "2026-10-23T19:35:23+00:00"}]
---

# OpenTelemetry-Go: Exporter config logging may leak endpoint URLs in info logs in go.opentelemetry.io/otel/exporters/otlp/otlptrace

OpenTelemetry-Go's tracer provider writes an Info-level diagnostic log that includes exporter endpoint URLs and Zipkin collector URLs. Anyone who can read those logs can learn internal collector addresses and any credentials embedded in Zipkin URLs.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- go:go.opentelemetry.io/otel/exporters/otlp/otlptrace affected >= 1.5.0, < 1.45.0 fixed 1.45.0
- go:go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc affected >= 1.5.0, < 1.45.0 fixed 1.45.0
- go:go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp affected >= 1.5.0, < 1.45.0 fixed 1.45.0
- go:go.opentelemetry.io/otel/exporters/zipkin affected >= 1.5.0, < 1.45.0 fixed 1.45.0
- go:go.opentelemetry.io/otel/sdk affected >= 1.5.0, < 1.45.0 fixed 1.45.0

## How to check

Check whether the application calls otel.SetLogger; only then is the Info-level event emitted (the default logger does not emit it).
Check go.mod for go.opentelemetry.io/otel/sdk or exporters/otlp/otlptrace versions below 1.45.0.
If logs are collected, search them for OTLP collector endpoints or Zipkin URLs containing user info or query strings.

## Fix

Upgrade go.opentelemetry.io/otel/sdk, the otlptrace, otlptracegrpc, otlptracehttp and zipkin exporters to 1.45.0 or later.
If Zipkin URLs carry credentials, rotate them and move them out of the URL.

## Timeline

- 2026-10-23T19:13:08+00:00 govuln https://pkg.go.dev/vuln/GO-2026-6505
- 2026-10-23T19:13:43+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-81870
- 2026-10-23T19:35:23+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-81870

## From the sources

OpenTelemetry-Go is the Go implementation of OpenTelemetry. From version 1.5.0 to 1.44.0, sdk/trace.NewTracerProvider emits a TracerProvider created internal Info-level diagnostic event whose MarshalLog implementations recursively include span processor, exporter, and client configuration. Applications that call otel.SetLogger to enable OpenTelemetry internal Info logging can therefore record OTLP gRPC and HTTP collector endpoints, the OTLP HTTP Insecure flag, and complete Zipkin collector URLs. A person or system with access to those logs can learn internal collector topology and can recover credentials or tokens embedded in Zipkin URL user information or query strings. The default OpenTelemetry logger does not emit the event, and this path does not log OTLP authentication headers, TLS key material, or span payloads. This issue is fixed in version 1.45.0.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
