CVE-2026-24051
opentelemetry-go: OpenTelemetry-Go Affected by Arbitrary Code Execution via PATH Hijacking
Overview
Description
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.
Source: OX vulnerability database
Severity
7 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-426
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | go.opentelemetry.io/otel/sdk | >=1.21.0, <1.40.0 | 1.40.0 |
Open a package to see all its vulnerabilities.
Operating systems · 843 fixes
chainguard 1 release · 427 packages
| Release | Package | Fixed in |
|---|---|---|
| agentbeat +198 | not affected | |
| kube-vip-cloud-provider-0-0-10 | 0.0.10-r12 | |
| kube-vip-cloud-provider | 0.0.12-r10 | |
| dagdotdev | 0.0.20-r5 | |
| reports-server | 0.1.6-r5 | |
| prometheus-adapter-0-10 | 0.10.1-r33 |
421 more rows
minimos 1 release · 253 packages
| Release | Package | Fixed in |
|---|---|---|
| kube-vip-cloud-provider +1 | 0.0.13-r0 | |
| tw | 0.0.40-r0 | |
| grype | 0.109.0-r2 | |
| falcoctl +1 | 0.12.2-r2 | |
| hubble-ui +1 | 0.13.5-r0 | |
| signoz | 0.132.1-r0 |
247 more rows
openSUSE 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | copacetic +3 | 0.14.0-1.1 | openSUSE-SU-2026:10716-1 |
| Tumbleweed | kyverno +3 | 1.17.2-1.1 | openSUSE-SU-2026:10613-1 |
| Tumbleweed | teleport +12 | 17.7.23-1.1 | openSUSE-SU-2026:10684-1 |
| Tumbleweed | openbao +7 | 2.5.1-1.1 | openSUSE-SU-2026:10396-1 |
wolfi 1 release · 159 packages
| Release | Package | Fixed in |
|---|---|---|
| amazon-cloudwatch-agent +41 | not affected | |
| kube-vip-cloud-provider | 0.0.12-r10 | |
| dagdotdev | 0.0.20-r5 | |
| witness | 0.10.2-r9 | |
| grype | 0.109.0-r2 | |
| prometheus-adapter | 0.12.0-r21 |
153 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-24051
- github.com https://github.com/open-telemetry/opentelemetry-go
- github.com https://github.com/open-telemetry/opentelemetry-go/commit/d45961bcda453fcbdb6469c22d6e88a1f9970a53
- github.com https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-9h8m-3fm2-qjrq
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-24051
- pkg.go.dev https://pkg.go.dev/vuln/GO-2026-4394
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-24051
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.