CVE-2026-24051
February 02, 2026
OpenTelemetry-Go is the Go implementation of OpenTelemetry. The OpenTelemetry Go SDK in version v1.20.0-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 v1.40.0.
Affected Packages
https://github.com/open-telemetry/opentelemetry-go.git (GITHUB):
Affected version(s) >=v1.20.0 <v1.40.0Fix Suggestion:
Update to version v1.40.0go.opentelemetry.io/otel/sdk (GO):
Affected version(s) >=v1.21.0 <v1.40.0Fix Suggestion:
Update to version v1.40.0github.com/open-telemetry/opentelemetry-go (GO):
Affected version(s) >=v1.20.0 <v1.40.0Fix Suggestion:
Update to version v1.40.0Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.3
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Untrusted Search Path
EPSS
Base Score:
0.01