Skip to main content
CVE-2026-24051VulnerabilityPublished

CVE-2026-24051: open-telemetry opentelemetry-go · Untrusted Search Path

Affects open-telemetry opentelemetry-goSource CVE Database V5

0

Not known to be exploited · CVSS 7.0 High : upgrade to 1.40.0 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.0High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.40.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade opentelemetry-go and github.com/open-telemetry/opentelemetry-go to 1.40.0.

Affected software

ProductAffectedFixed in
open-telemetryopentelemetry-goAffected
  • >=1.21.0 <1.40.0
Fixed in
  • 1.40.0
Gogithub.com/open-telemetry/opentelemetry-gopkg:golang/github.com/open-telemetry/opentelemetry-goOther threatsAffected
  • >=1.21.0 <1.40.0
Fixed in
  • 1.40.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Upgrade all OpenTelemetry-Go SDK instances to version 1.40.0 or later, which contains the fix for this vulnerability. 2. Enforce strict local user permissions to prevent unauthorized modification of the PATH environment variable, especially on macOS systems running vulnerable versions. 3. Implement application whitelisting or integrity monitoring to detect unauthorized changes to executables or environment configurations. 4. Use containerization or sandboxing to isolate telemetry applications and limit the impact of potential local exploits. 5. Audit and restrict local access to systems running OpenTelemetry-Go to trusted users only. 6. Monitor logs and system behavior for unusual command executions or environment variable changes. 7. Educate developers and system administrators about the risks of untrusted search paths and secure coding practices related to command execution.

Description

CVE-2026-24051 is a high-severity vulnerability affecting the OpenTelemetry-Go SDK versions 1.21.0 up to but not including 1.40.0 on macOS/Darwin systems. The vulnerability arises from an untrusted search path (CWE-426) in the resource detection code that executes the 'ioreg' system command without specifying an absolute path. An attacker with local access who can modify the PATH environment variable can hijack this command execution to run arbitrary code within the application's context. This flaw allows for arbitrary code execution without user interaction but requires local privileges and a high attack complexity. No known exploits are currently reported in the wild. The issue was fixed in version 1.

References

Community reviews

Loading reviews…