Quick answers
- Is CVE-2026-24051 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-24051 being exploited in the wild.
- How severe is CVE-2026-24051?
- High severity, with a CVSS score of 7, published 2 February 2026.
- Which products and versions are affected?
- go.opentelemetry.io/otel/sdk (Go) SEMVER:introduced=1.21.0,fixed=1.40.0; Opentelemetry Go SDK v1.20.0 - v1.39.0.
- Is there a fix for CVE-2026-24051?
- Yes. go.opentelemetry.io/otel/sdk (Go): upgrade to 1.40.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-24051 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-24051?
- Check whether you run go.opentelemetry.io/otel/sdk (Go), Opentelemetry Go SDK or Opentelemetry at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- go.opentelemetry.io/otel/sdk (Go): upgrade to 1.40.0 or later
go get go.opentelemetry.io/otel/sdk@v1.40.0
Technical details
A Path Hijacking (Untrusted Search Path) vulnerability exists in the OpenTelemetry Go SDK's resource detection logic on macOS/Darwin. Specifically, the code in `sdk/resource/host_id.go` attempts to execute the `ioreg` system command without specifying an absolute path. An attacker with local access and the ability to modify the PATH environment variable can place a malicious executable named `ioreg` in a directory searched before the legitimate system path. When the SDK executes, it will run the attacker's code with the privileges of the application process. This issue is addressed in version v1.40.0 by using the full absolute path for the command.
Affected products
- OpenTelemetry OpenTelemetry Go SDK v1.20.0 - v1.39.0
Identifiers
- CVE-2026-24051
- GHSA-9h8m-3fm2-qjrq
- GO-2026-4394
Timeline
- 2026-02-02: disclosed
- 2026-02-02: advisory
- 2026-02-02: patched: Fixed in version v1.40.0