Path Hijacking Vulnerability in OpenTelemetry Go SDK for macOS
CVE-2026-24051
7HIGH
What is CVE-2026-24051?
The OpenTelemetry-Go SDK versions v1.20.0 to v1.39.0 contains a vulnerability that allows path hijacking on macOS/Darwin systems. The code responsible for resource detection executes the 'ioreg' system command with a user-defined search path. This presents an opportunity for local attackers to modify the PATH environment variable, which could lead to arbitrary code execution within the application context. Users are highly encouraged to update to version v1.40.0, which includes a fix for this vulnerability.
Affected Version(s)
opentelemetry-go >= 1.21.0, < 1.40.0
