{"id":"CVE-2026-24051","published":"2026-02-02T19:49:10Z","modified":"2026-02-03T14:54:41Z","title":"OpenTelemetry-Go Affected by Arbitrary Code Execution via PATH Hijacking","vendor":"open-telemetry","product":"opentelemetry-go","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00195,"percentile":0.05258,"provenance":"source"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-9h8m-3fm2-qjrq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-telemetry/opentelemetry-go/commit/d45961bcda453fcbdb6469c22d6e88a1f9970a53","tags":["x_refsource_MISC"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":1.05},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"open-telemetry","affectedVersions":[{"vendor":"open-telemetry","product":"opentelemetry-go","versions":[">= 1.21.0, < 1.40.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-03T14:53:50.389773Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"go.opentelemetry.io/otel/sdk","vulnerableRanges":[">=1.21.0, <1.40.0"],"patched":["1.40.0"],"from":["GHSA-9h8m-3fm2-qjrq","GO-2026-4394"],"provenance":"source"}],"summary":{"text":"The OpenTelemetry Go SDK (opentelemetry-go, versions v1.20.0 through v1.39.0) contains an untrusted search path flaw on macOS/Darwin, where the resource detection code in sdk/resource/host_id.go runs the ioreg system command by resolving it through PATH. An attacker who can locally modify the PATH environment variable of the application can get code executed in the application's context, though this requires local access and a configuration the attacker can control.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:05Z"},"euvd":{"id":"EUVD-2026-5303","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-81869","published":"2026-09-16","fixed":"1.33.0","kev":false},{"cve":"CVE-2026-24051","published":"2026-02-02","fixed":"1.40.0","kev":false},{"cve":"CVE-2026-39883","published":"2026-04-08","fixed":"1.43.0","kev":false,"link":{"from":"CVE-2026-24051","to":"CVE-2026-39883","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:go.opentelemetry.io/otel/sdk","fromFixed":"1.40.0","toFixed":"1.43.0","daysApart":65}]}},{"cve":"CVE-2026-81870","published":"2026-09-16","fixed":"1.45.0","kev":false},{"cve":"CVE-2026-128085","published":"2026-11-13","fixed":"1.47.0","kev":false}],"package":"Go:go.opentelemetry.io/otel/sdk"}}