Untrusted Search Path in github.com/open-telemetry/opentelemetry-go
CVE-2026-24051
- github.com/open-telemetry/opentelemetry-go
- go.opentelemetry.io/otel/sdk
Summary
OpenTelemetry-Go is the Go implementation of OpenTelemetry. The OpenTelemetry Go SDK versions from 1.20.0 through 1.39.0 is vulnerable to Path Hijacking (Untrusted Search Paths) on macOS/Darwin systems. The resource detection code in "sdk/resource/host_id.go" executes the "ioreg" system 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. A fix was released with 1.40.0.
- HIGH
- LOCAL
- HIGH
- UNCHANGED
- NONE
- LOW
- HIGH
- HIGH
CWE-426 - Untrusted Search Path
The application searches for critical resources using an externally-supplied search path that can point to resources that are not under the application's direct control.
References
Advisory Timeline
- Published