{"id":"GHSA-9h8m-3fm2-qjrq","revision":"6bf54fbeec284cd0a6e7ec103cb9df3c","records":[{"revision":"6bf54fbeec284cd0a6e7ec103cb9df3c","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-9h8m-3fm2-qjrq","aliases":["CVE-2026-24051","GO-2026-4394"],"title":"OpenTelemetry Go SDK Vulnerable to Arbitrary Code Execution via PATH Hijacking","description":"### Impact\nThe 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.\n\n### Patches\nThis has been patched in [d45961b](https://github.com/open-telemetry/opentelemetry-go/commit/d45961bcda453fcbdb6469c22d6e88a1f9970a53), which was released with `v1.40.0`.\n\n### References\n- [CWE-426: Untrusted Search Path](https://cwe.mitre.org/data/definitions/426.html)","state":0,"publishedAt":"2026-02-02T20:07:46+00:00","modifiedAt":"2026-09-10T03:50:34.8017778+00:00","affected":[{"ecosystem":"Go","name":"go.opentelemetry.io/otel/sdk","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.21.0"},{"kind":"fixed","version":"1.40.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-9h8m-3fm2-qjrq","https://nvd.nist.gov/vuln/detail/CVE-2026-24051","https://github.com/open-telemetry/opentelemetry-go/commit/d45961bcda453fcbdb6469c22d6e88a1f9970a53","https://github.com/open-telemetry/opentelemetry-go","https://pkg.go.dev/vuln/GO-2026-4394"],"sourceUrl":"https://github.com/advisories/GHSA-9h8m-3fm2-qjrq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9h8m-3fm2-qjrq","identifiers":["GHSA-9h8m-3fm2-qjrq","CVE-2026-24051","GO-2026-4394"]},"retained":false,"historicalAffected":[]}],"coverage":[]}