CVE-2026-24051: open-telemetry opentelemetry-go · Untrusted Search Path
Affects open-telemetry opentelemetry-goSource CVE Database V5
Not known to be exploited · CVSS 7.0 High : upgrade to 1.40.0 soon.
Data as of 26 Oct 2026, 14:05 UTC
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 26 Oct 2026.
What to do
Upgrade opentelemetry-go and github.com/open-telemetry/opentelemetry-go to 1.40.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| open-telemetryopentelemetry-go | Affected
| Fixed in
|
Gogithub.com/open-telemetry/opentelemetry-gopkg:golang/github.com/open-telemetry/opentelemetry-goOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade all OpenTelemetry-Go SDK instances to version 1.40.0 or later, which contains the fix for this vulnerability.
- Enforce strict local user permissions to prevent unauthorized modification of the PATH environment variable, especially on macOS systems running vulnerable versions.
- Implement application whitelisting or integrity monitoring to detect unauthorized changes to executables or environment configurations.
- Use containerization or sandboxing to isolate telemetry applications and limit the impact of potential local exploits.
- Audit and restrict local access to systems running OpenTelemetry-Go to trusted users only.
- Monitor logs and system behavior for unusual command executions or environment variable changes.
- 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.