1. Home
  2. Vulnerabilities
  3. CVE-2026-24051

CVE-2026-24051

OpenTelemetry-Go is the Go implementation of OpenTelemetry. The OpenTelemetry Go SDK in version…

Published 2 Feb 2026 · modified 19 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 30/100

Summary

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.

Affected products and versions

Go (1 line(s))
Go
ProductVersionsFixed inSource
go.opentelemetry.io/otel/sdk from 1.21.0 (included) to 1.40.0 (excluded) 1.40.0 OSV
Opentelemetry (1 line(s))
Opentelemetry
ProductVersionsFixed inSource
Opentelemetry from 1.21.0 (included) to 1.40.0 (excluded) — NVD

Fix

Upgrade — Go/go.opentelemetry.io/otel/sdk 1.40.0official source

Source : OSV

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1336)
  3. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1378)
  4. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)
  5. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1486)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:security-advisories@github.com)
Weakness
CWE-426 · Autre (CWE-426)

How this data is obtained and calculated