Skip to content

chore(deps): update module go.opentelemetry.io/otel/exporters/otlp/otlptrace to v1.45.0 [security] - #101

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-go.opentelemetry.io-otel-exporters-otlp-otlptrace-vulnerability
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-go.opentelemetry.io-otel-exporters-otlp-otlptrace-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0 → v1.45.0 age confidence

OpenTelemetry-Go: Exporter config logging may leak endpoint URLs in info logs

CVE-2026-81870 / GHSA-8wmf-6v46-5gfg

More information

Details

Summary

OpenTelemetry Go versions 1.5.0 through 1.44.0 can include trace exporter endpoint configuration in an internal diagnostic log emitted when an SDK TracerProvider is created. The default OpenTelemetry logger does not emit this event. Exposure requires an application to install a logger that enables OpenTelemetry's internal Info-level diagnostics and for someone other than the intended audience to have access to those logs.

The logged configuration can disclose the address of the trace collector and whether the OTLP/HTTP connection is configured as insecure. The Zipkin exporter logs its complete collector URL, so credentials in URL userinfo or tokens in the query string are also disclosed if an application embeds them there. OTLP authentication headers, TLS key material, and exported span data are not included in this log.

Exporter MarshalLog implementations that caused this configuration to be included in internal logs were introduced by a1fff3c.

Details

When sdk/trace.NewTracerProvider constructs a provider, it records a TracerProvider created internal Info event containing the provider configuration. In affected versions, the configuration's MarshalLog methods recursively include:

  1. the provider's span processors;
  2. each processor's span exporter; and
  3. for the OTLP trace exporter, its client configuration.

This causes the following values to be present in the event:

  • OTLP trace gRPC: the configured endpoint;
  • OTLP trace HTTP: the configured endpoint and the Insecure flag; and
  • Zipkin: the complete collector URL.

OpenTelemetry Go does not emit this event with its default logger, which only emits errors. An application must explicitly configure a sufficiently verbose logger with otel.SetLogger. The required logr verbosity is version-dependent:

  • versions 1.5.0 through 1.14.x use V(1) for this Info event; and
  • versions 1.15.0 through 1.44.0 use V(4).

OTLP header configuration is not part of the marshaled object, so credentials supplied with WithHeaders or the corresponding environment variables are not exposed. The documented OTLP WithEndpoint input is a collector address rather than a credential-bearing URL. The higher-risk case is therefore the Zipkin collector URL, which is retained and logged in full, or an application passing sensitive data in an OTLP endpoint outside the documented format.

Proof of concept

The following program demonstrates the behavior with OpenTelemetry Go 1.44.0. It deliberately places credentials and a token in the Zipkin collector URL and enables internal Info logging:

package main

import (
	"bytes"
	"context"
	"fmt"

	"github.com/go-logr/logr/funcr"
	"go.opentelemetry.io/otel"
	"go.opentelemetry.io/otel/exporters/zipkin"
	sdktrace "go.opentelemetry.io/otel/sdk/trace"
)

func main() {
	var logs bytes.Buffer
	otel.SetLogger(funcr.New(func(_, args string) {
		_, _ = logs.WriteString(args)
	}, funcr.Options{Verbosity: 4}))

	exporter, err := zipkin.New(
		"http://user:[email protected]:9411/api/v2/spans?token=secret",
	)
	if err != nil {
		panic(err)
	}

	tp := sdktrace.NewTracerProvider(sdktrace.WithBatcher(exporter))
	_ = tp.Shutdown(context.Background())

	fmt.Println(logs.String())
}

The TracerProvider created event contains:

http://user:[email protected]:9411/api/v2/spans?token=secret

For versions before 1.15.0, set funcr.Options{Verbosity: 1} instead.

Impact

This is a conditional disclosure through application logs. Affected applications must enable verbose OpenTelemetry internal diagnostics and configure a trace exporter containing information they do not intend to expose to readers of those logs. In that configuration, a person or system with log access can learn the trace collector address and internal network topology. If credentials or tokens are embedded directly in a Zipkin collector URL, those values can also be recovered from the logs.

There is no exposure with the default OpenTelemetry logger, and the vulnerable log is generated from local application configuration rather than remotely supplied span data. OTLP authentication headers, certificate or private-key contents, and telemetry payloads are not logged by this path.

Remediation

Upgrade the affected OpenTelemetry Go modules to version 1.45.0 or later. The fix in 3a1412d stops recursively marshaling exporter and client configuration and records their types instead.

If an immediate upgrade is not possible:

  • keep OpenTelemetry internal logging below the Info verbosity described above;
  • do not embed credentials or tokens in exporter endpoint URLs; use authentication headers or another supported credential mechanism; and
  • restrict access to existing logs and rotate any credentials that may already have been recorded.

Severity

  • CVSS Score: 2.0 / 10 (Low)
  • Vector String: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/exporters/otlp/otlptrace)

v1.45.0

Compare Source


Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file security labels Sep 18, 2026
@renovate
renovate Bot requested a review from ArionMiles September 18, 2026 01:00
@renovate

renovate Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: backend/go.sum
go: downloading github.com/daixiang0/gci v0.13.7
go: downloading github.com/golangci/golangci-lint/v2 v2.11.4
go: downloading golang.org/x/vuln v1.1.4
go: downloading mvdan.cc/gofumpt v0.9.2
go: downloading golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5
go: downloading github.com/google/go-cmdtest v0.4.1-0.20220921163831-55ab3332a786
go: downloading golang.org/x/mod v0.39.0
go: downloading github.com/go-quicktest/qt v1.101.0
go: downloading github.com/rogpeppe/go-internal v1.16.0
go: downloading go.uber.org/goleak v1.3.0
go: downloading github.com/go-playground/assert/v2 v2.2.0
go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
go: downloading go.opentelemetry.io/otel/metric/x v0.67.0
go: downloading github.com/lib/pq v1.11.2
go: downloading github.com/mdelapenya/tlscert v0.2.0
go: downloading github.com/dhui/dktest v0.4.6
go: downloading github.com/spf13/cobra v1.10.2
go: downloading go.uber.org/zap v1.27.1
go: downloading github.com/charmbracelet/lipgloss v1.1.0
go: downloading github.com/fatih/color v1.19.0
go: downloading github.com/gofrs/flock v0.13.0
go: downloading github.com/hashicorp/go-version v1.8.0
go: downloading github.com/ldez/grignotin v0.10.1
go: downloading github.com/pelletier/go-toml/v2 v2.2.4
go: downloading github.com/santhosh-tekuri/jsonschema/v6 v6.0.2
go: downloading github.com/spf13/pflag v1.0.10
go: downloading github.com/spf13/viper v1.21.0
go: downloading go.yaml.in/yaml/v3 v3.0.4
go: downloading github.com/google/renameio v0.1.0
go: downloading golang.org/x/tools v0.49.0
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6
go: downloading gotest.tools/v3 v3.5.2
go: downloading github.com/stretchr/objx v0.5.3
go: downloading github.com/docker/docker v28.3.3+incompatible
go: downloading github.com/hexops/gotextdiff v1.0.3
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading go.uber.org/multierr v1.11.0
go: downloading github.com/charmbracelet/x/ansi v0.11.3
go: downloading github.com/charmbracelet/x/cellbuf v0.0.14
go: downloading github.com/muesli/termenv v0.16.0
go: downloading github.com/rivo/uniseg v0.4.7
go: downloading github.com/mattn/go-colorable v0.1.14
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/go-viper/mapstructure/v2 v2.5.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/alecthomas/chroma/v2 v2.23.1
go: downloading github.com/golangci/plugin-module-register v0.1.2
go: downloading github.com/go-xmlfmt/xmlfmt v1.1.3
go: downloading github.com/golangci/revgrep v0.8.0
go: downloading github.com/dlclark/regexp2 v1.11.5
go: downloading github.com/fsnotify/fsnotify v1.9.0
go: downloading github.com/sagikazarmark/locafero v0.11.0
go: downloading github.com/spf13/afero v1.15.0
go: downloading github.com/spf13/cast v1.10.0
go: downloading github.com/kr/text v0.2.0
go: downloading github.com/golang/protobuf v1.5.4
go: downloading pgregory.net/rapid v1.2.0
go: downloading github.com/creack/pty v1.1.24
go: downloading golang.org/x/term v0.45.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/morikuni/aec v1.0.0
go: downloading google.golang.org/genproto v0.0.0-20260128011058-8636f8732409
go: downloading github.com/clipperhouse/displaywidth v0.6.1
go: downloading github.com/clipperhouse/uax29/v2 v2.3.0
go: downloading github.com/lucasb-eyer/go-colorful v1.3.0
go: downloading github.com/mattn/go-runewidth v0.0.19
go: downloading github.com/charmbracelet/colorprofile v0.4.1
go: downloading github.com/charmbracelet/x/term v0.2.2
go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1
go: downloading github.com/golangci/gofmt v0.0.0-20260820135601-e84e05053792
go: downloading github.com/golangci/golines v0.15.0
go: downloading github.com/sourcegraph/go-diff v0.7.0
go: downloading github.com/golangci/swaggoswag v0.0.0-20250504205917-77f2aca3143e
go: downloading go.augendre.info/arangolint v0.4.0
go: downloading github.com/alingse/asasalint v0.0.11
go: downloading github.com/golangci/asciicheck v0.5.0
go: downloading github.com/breml/bidichk v0.3.3
go: downloading github.com/timakin/bodyclose v0.0.0-20241222091800-1db5c5ca4d67
go: downloading github.com/lasiar/canonicalheader v1.1.2
go: downloading github.com/sivchari/containedctx v1.0.3
go: downloading github.com/kkHAIKE/contextcheck v1.1.6
go: downloading github.com/karamaru-alpha/copyloopvar v1.2.2
go: downloading github.com/bkielbasa/cyclop v1.2.3
go: downloading gitlab.com/bosi/decorder v0.4.2
go: downloading github.com/OpenPeeDeeP/depguard/v2 v2.2.1
go: downloading github.com/golangci/dupl v0.0.0-20260401084720-c99c5cf5c202
go: downloading github.com/Abirdcfly/dupword v0.1.7
go: downloading github.com/charithe/durationcheck v0.0.11
go: downloading github.com/manuelarte/embeddedstructfieldcheck v0.4.0
go: downloading github.com/Djarvur/go-err113 v0.1.1
go: downloading github.com/kisielk/errcheck v1.10.0
go: downloading github.com/breml/errchkjson v0.4.1
go: downloading github.com/Antonboom/errname v1.1.1
go: downloading codeberg.org/polyfloyd/go-errorlint v1.9.0
go: downloading github.com/nishanths/exhaustive v0.12.0
go: downloading dev.gaijin.team/go/exhaustruct/v4 v4.0.0
go: downloading github.com/ldez/exptostd v0.4.5
go: downloading golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b
go: downloading go.augendre.info/fatcontext v0.9.0
go: downloading github.com/ashanbrown/forbidigo/v2 v2.3.0
go: downloading github.com/gostaticanalysis/forcetypeassert v0.2.0
go: downloading github.com/manuelarte/funcorder v0.5.0
go: downloading github.com/ultraware/funlen v0.2.0
go: downloading github.com/nunnatsa/ginkgolinter v0.23.0
go: downloading 4d63.com/gocheckcompilerdirectives v1.3.0
go: downloading 4d63.com/gochecknoglobals v0.2.2
go: downloading github.com/alecthomas/go-check-sumtype v0.3.1
go: downloading github.com/uudashr/gocognit v1.2.1
go: downloading github.com/jgautheron/goconst v1.8.2
go: downloading github.com/go-critic/go-critic v0.14.3
go: downloading github.com/quasilyte/go-ruleguard/dsl v0.3.23
go: downloading github.com/quasilyte/go-ruleguard v0.4.5
go: downloading github.com/fzipp/gocyclo v0.6.0
go: downloading github.com/godoc-lint/godoc-lint v0.11.2
go: downloading github.com/tetafro/godot v1.5.4
go: downloading github.com/matoous/godox v1.1.0
go: downloading github.com/denis-tingaikin/go-header v0.5.0
go: downloading github.com/ldez/gomoddirectives v0.8.0
go: downloading github.com/ryancurrah/gomodguard v1.4.1
go: downloading github.com/golangci/go-printf-func-name v0.1.1
go: downloading github.com/securego/gosec/v2 v2.24.8-0.20260309165252-619ce2117e08
go: downloading github.com/xen0n/gosmopolitan v1.3.0
go: downloading github.com/leonklingele/grouper v1.1.2
go: downloading github.com/uudashr/iface v1.4.1
go: downloading github.com/julz/importas v0.2.0
go: downloading github.com/macabu/inamedparam v0.2.0
go: downloading github.com/gordonklaus/ineffassign v0.2.0
go: downloading github.com/sashamelentyev/interfacebloat v1.1.0
go: downloading github.com/ckaznocha/intrange v0.3.1
go: downloading github.com/AdminBenni/iota-mixing v1.0.0
go: downloading github.com/butuzov/ireturn v0.4.0
go: downloading github.com/timonwong/loggercheck v0.11.0
go: downloading github.com/yagipy/maintidx v1.0.0
go: downloading github.com/ashanbrown/makezero/v2 v2.1.0
go: downloading github.com/butuzov/mirror v1.3.0
go: downloading github.com/golangci/misspell v0.8.0
go: downloading github.com/tommy-muehle/go-mnd/v2 v2.5.1
go: downloading go-simpler.org/musttag v0.14.0
go: downloading github.com/alexkohler/nakedret/v2 v2.0.6
go: downloading github.com/nakabonne/nestif v0.3.1
go: downloading github.com/gostaticanalysis/nilerr v0.1.2
go: downloading github.com/alingse/nilnesserr v0.2.0
go: downloading github.com/Antonboom/nilnil v1.1.1
go: downloading github.com/ssgreg/nlreturn/v2 v2.2.1
go: downloading github.com/sonatard/noctx v0.5.1
go: downloading github.com/AlwxSin/noinlineerr v1.0.5
go: downloading github.com/firefart/nonamedreturns v1.0.6
go: downloading github.com/stbenjam/no-sprintf-host-port v0.3.1
go: downloading github.com/kunwardeep/paralleltest v1.0.15
go: downloading github.com/catenacyber/perfsprint v0.10.1
go: downloading github.com/alexkohler/prealloc v1.1.0
go: downloading github.com/nishanths/predeclared v0.2.2
go: downloading github.com/yeya24/promlinter v0.3.0
go: downloading github.com/ghostiam/protogetter v0.3.20
go: downloading github.com/curioswitch/go-reassign v0.3.0
go: downloading github.com/raeperd/recvcheck v0.2.0
go: downloading github.com/mgechev/revive v1.15.0
go: downloading github.com/jingyugao/rowserrcheck v1.1.1
go: downloading go-simpler.org/sloglint v0.11.1
go: downloading github.com/jjti/go-spancheck v0.6.5
go: downloading github.com/ryanrolds/sqlclosecheck v0.6.0
go: downloading honnef.co/go/tools v0.7.0
go: downloading github.com/4meepo/tagalign v1.4.3
go: downloading github.com/ldez/tagliatelle v0.7.2
go: downloading github.com/maratori/testableexamples v1.0.1
go: downloading github.com/Antonboom/testifylint v1.6.4
go: downloading github.com/maratori/testpackage v1.1.2
go: downloading github.com/kulti/thelper v0.7.1
go: downloading github.com/moricho/tparallel v0.3.2
go: downloading github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e
go: downloading mvdan.cc/unparam v0.0.0-20251027182757-5beb8c8f8f15
go: downloading github.com/MirrexOne/unqueryvet v1.5.4
go: downloading github.com/sashamelentyev/usestdlibvars v1.29.0
go: downloading github.com/ldez/usetesting v0.5.0
go: downloading github.com/blizzy78/varnamelen v0.8.0
go: downloading github.com/sanposhiho/wastedassign/v2 v2.1.0
go: downloading github.com/ultraware/whitespace v0.2.0
go: downloading github.com/tomarrell/wrapcheck/v2 v2.12.0
go: downloading github.com/bombsimon/wsl/v4 v4.7.0
go: downloading github.com/bombsimon/wsl/v5 v5.6.0
go: downloading github.com/ykadowak/zerologlint v0.1.5
go: downloading github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8
go: downloading github.com/frankban/quicktest v1.14.6
go: downloading github.com/subosito/gotenv v1.6.0
go: downloading golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated
go: downloading github.com/clipperhouse/stringish v0.1.1
go: downloading github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e
go: downloading github.com/alecthomas/assert/v2 v2.11.0
go: downloading github.com/alecthomas/repr v0.5.2
go: downloading github.com/dave/dst v0.27.3
go: downloading github.com/gostaticanalysis/analysisutil v0.7.1
go: downloading github.com/go-toolsmith/astcast v1.1.0
go: downloading github.com/gostaticanalysis/testutil v0.5.0
go: downloading github.com/gobwas/glob v0.2.3
go: downloading dev.gaijin.team/go/golib v0.8.0
go: downloading github.com/go-toolsmith/astcopy v1.1.0
go: downloading github.com/go-toolsmith/astequal v1.2.0
go: downloading github.com/go-toolsmith/astfmt v1.1.0
go: downloading github.com/go-toolsmith/astp v1.1.0
go: downloading github.com/go-toolsmith/strparse v1.1.0
go: downloading github.com/go-toolsmith/typep v1.1.0
go: downloading github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727
go: downloading github.com/Masterminds/semver/v3 v3.4.0
go: downloading github.com/onsi/ginkgo/v2 v2.28.1
go: downloading github.com/onsi/ginkgo v1.16.4
go: downloading github.com/onsi/gomega v1.39.1
go: downloading github.com/ccojocar/zxcvbn-go v1.0.4
go: downloading go-simpler.org/assert v0.9.0
go: downloading github.com/gostaticanalysis/comment v1.5.0
go: downloading github.com/prometheus/client_golang v1.23.2
go: downloading github.com/prometheus/client_model v0.6.2
go: downloading github.com/fatih/structtag v1.2.0
go: downloading github.com/ettle/strcase v0.2.0
go: downloading github.com/alfatraining/structtag v1.0.0
go: downloading github.com/hashicorp/go-immutable-radix/v2 v2.1.0
go: downloading golang.org/x/tools/go/expect v0.1.1-deprecated
go: downloading github.com/matryer/is v1.4.0
go: downloading gonum.org/v1/gonum v0.17.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/sergi/go-diff v1.2.0
go: downloading github.com/ldez/structtags v0.6.1
go: downloading github.com/otiai10/copy v1.14.0
go: downloading github.com/tenntenn/modver v1.0.1
go: downloading github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3
go: downloading golang.org/x/exp/typeparams v0.0.0-20260209203927-2842357ff358
go: downloading github.com/quasilyte/gogrep v0.5.0
go: downloading github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567
go: downloading github.com/go-toolsmith/pkgload v1.2.2
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/common v0.66.1
go: downloading github.com/prometheus/procfs v0.16.1
go: downloading codeberg.org/chavacava/garif v0.2.0
go: downloading github.com/hashicorp/golang-lru/v2 v2.0.7
go: downloading github.com/hashicorp/go-uuid v1.0.3
go: downloading github.com/dave/jennifer v1.7.1
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading go.yaml.in/yaml/v2 v2.4.2
go: downloading github.com/go-task/slim-sprig/v3 v3.0.0
go: downloading github.com/google/pprof v0.0.0-20260115054156-294ebfa9ad83
go: finding module for package github.com/golangci/gofmt/gofmt
go: github.com/golangci/golangci-lint/v2/cmd/golangci-lint imports
	github.com/golangci/golangci-lint/v2/pkg/commands imports
	github.com/golangci/golangci-lint/v2/pkg/goformatters imports
	github.com/golangci/golangci-lint/v2/pkg/goformatters/gofmt imports
	github.com/golangci/gofmt/gofmt: module github.com/golangci/gofmt@latest found (v0.0.0-20260820135601-e84e05053792), but does not contain package github.com/golangci/gofmt/gofmt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant