fix(deps): Update module go.opentelemetry.io/otel/sdk to v1.40.0 [SECURITY]#2428
Merged
kodiakhq[bot] merged 1 commit intomainfrom Mar 1, 2026
Merged
Conversation
Contributor
Author
ℹ Artifact update noticeFile name: examples/simple_plugin/go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
File name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.39.0->v1.40.0v1.39.0->v1.40.0GitHub Vulnerability Alerts
CVE-2026-24051
Impact
The OpenTelemetry Go SDK in version
v1.20.0-1.39.0is vulnerable to Path Hijacking (Untrusted Search Paths) on macOS/Darwin systems. The resource detection code insdk/resource/host_id.goexecutes theioregsystem command using a search path. An attacker with the ability to locally modify the PATH environment variable can achieve Arbitrary Code Execution (ACE) within the context of the application.Patches
This has been patched in d45961b, which was released with
v1.40.0.References
Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/sdk)
v1.40.0: /v0.62.0/v0.16.0Compare Source
Overview
Added
Enabledmethod to all synchronous instrument interfaces (Float64Counter,Float64UpDownCounter,Float64Histogram,Float64Gauge,Int64Counter,Int64UpDownCounter,Int64Histogram,Int64Gauge,) ingo.opentelemetry.io/otel/metric. This stabilizes the synchronous instrument enabled feature, allowing users to check if an instrument will process measurements before performing computationally expensive operations. (#7763)AlwaysRecordsampler ingo.opentelemetry.io/otel/sdk/trace. (#7724)go.opentelemetry.io/otel/semconv/v1.39.0package. The package contains semantic conventions from thev1.39.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.38.0.(#7783, #7789)Changed
Exporteringo.opentelemetry.io/otel/exporters/prometheusignores metrics with the scopego.opentelemetry.io/contrib/bridges/prometheus. This prevents scrape failures when the Prometheus exporter is misconfigured to get data from the Prometheus bridge. (#7688)go.opentelemetry.io/otel/sdk/metric. (#7474)go.opentelemetry.io/otel/exporters/stdout/stdoutmetric. (#7492)HistogramReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarby 4x. (#7443)go.opentelemetry.io/otel/sdk/metric. (#7478)go.opentelemetry.io/otel/sdk/metric. (#7702)FixedSizeReservoiringo.opentelemetry.io/otel/sdk/metric/exemplar. (#7447)rpc.grpc.status_codeattribute in the experimental metrics emitted fromgo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpcis replaced with therpc.response.status_codeattribute to align with the semantic conventions. (#7854)rpc.grpc.status_codeattribute in the experimental metrics emitted fromgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpcis replaced with therpc.response.status_codeattribute to align with the semantic conventions. (#7854)Fixed
go.opentelemetry.io/otel/sdk/log. (#7662)DroppedAttributesonRecordingo.opentelemetry.io/otel/sdk/logto not count the non-attribute key-value pairs dropped because of key duplication. (#7662)SetAttributesonRecordingo.opentelemetry.io/otel/sdk/logto not log that attributes are dropped when they are actually not dropped. (#7662)WithHostIDdetector ingo.opentelemetry.io/otel/sdk/resourceto use full path forioregcommand on Darwin (macOS). (#7818)request.GetBodyingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttpto correctly handle HTTP2 GOAWAY frame. (#7794)Deprecated
go.opentelemetry.io/otel/exporters/zipkin. For more information, see the OTel blog post deprecating the Zipkin exporter. (#7670)What's Changed
8475f28by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/76922b6eea26by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/7694497cd9d5by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/77088e75fd47by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/771002adc8cfby @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/772557004b74by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/77277e0dd3ddby @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/77322944ab1fby @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/773330a764e5by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/774003f2a21fby @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/77399TestEmitinattributeby @itssaharsh in https://github.com/open-telemetry/opentelemetry-go/pull/7751492b5bcby @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/7759919053a8by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/77600AlwaysRecordsampler by @vitorvasc in https://github.com/open-telemetry/opentelemetry-go/pull/772499fd39fby @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/777443f89685by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/77855c6413dcby @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/77955b8f7ae3by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/78199e5a2b31by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/782118e98ce8by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/78299d11affdby @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/7838858372ceby @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/783998636f87by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/78411fcf36f6by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/7843373d1f95by @renovate[bot] inhttps://github.com/open-telemetry/opentelemetry-go/pull/78455New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.39.0...v1.40.0
Configuration
📅 Schedule: 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 these updates again.
This PR has been generated by Renovate Bot.