# CVE-2026-24051: OpenTelemetry-Go Affected by Arbitrary Code Execution via PATH Hijacking

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-02-02T19:49:10.038Z
- Modified: 2026-11-23T20:30:07.090Z
- Also known as: GHSA-9h8m-3fm2-qjrq, GO-2026-4394
- Weaknesses: CWE-426
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- open-telemetry opentelemetry-go: >= 1.21.0, < 1.40.0
- go.opentelemetry.io/otel/sdk (Go): from 1.21.0 before 1.40.0
- opentelemetry opentelemetry: from 1.21.0 before 1.40.0

## Every score

- GitHub_M: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-9h8m-3fm2-qjrq> (advisory, patch, vendor-advisory, web)
- <https://github.com/open-telemetry/opentelemetry-go/commit/d45961bcda453fcbdb6469c22d6e88a1f9970a53> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24051> (advisory)
- <https://github.com/open-telemetry/opentelemetry-go> (package)
- <https://pkg.go.dev/vuln/GO-2026-4394> (web)

## Sources

- CVE List: [CVE-2026-24051](https://www.cve.org/CVERecord?id=CVE-2026-24051), CVE Terms of Use, modified 2026-02-03
- GitHub Advisory Database: [GHSA-9h8m-3fm2-qjrq](https://github.com/advisories/GHSA-9h8m-3fm2-qjrq), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4394](https://pkg.go.dev/vuln/GO-2026-4394), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-24051](https://nvd.nist.gov/vuln/detail/CVE-2026-24051), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-24051 · Whole record: https://cve.day/CVE-2026-24051.json · Rebuilt by cve.day 2026-11-25T22:59:13.375Z
