CVEfocus › CVE database › CVE-2026-24051

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

CVSS 7.0 HighEPSS 0.2% (higher than 5% of CVEs)Published 2026-02-02Updated 2026-02-03Assigner: GitHub_M

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.

CWE-426

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10golang-opentelemetry-otelNot affected
vulnerable_code_not_present
Ubuntu 24.04golang-opentelemetry-otelNot affected
vulnerable_code_not_present
Ubuntu 22.04golang-opentelemetry-otelNot affected
vulnerable_code_not_present
Go librarygo.opentelemetry.io/otel/sdkFixed1.40.0GO-2026-4394

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.