Security mailing lists by PureSourceCode

CVE-2026-24051

HIGH 7.0CVSS 3.1

OpenTelemetry Go SDK Vulnerable to Arbitrary Code Execution via PATH Hijacking

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.

Published
2 Feb 2026
Last modified
23 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-426
Also known as
GHSA-9h8m-3fm2-qjrqGO-2026-4394
Sources
NVDJSONOSV GHSA-9h8m-3fm2-qjrqJSONOSV GO-2026-4394JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD opentelemetry opentelemetry
cpe:2.3:a:opentelemetry:opentelemetry:*:*:*:*:*:go:*:*
>= 1.21.0, < 1.40.0 1.40.0
OSV Go go.opentelemetry.io/otel/sdk >= 1.21.0, < 1.40.0 1.40.0

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 2 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Feb 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.