CVE-2026-24051 in Linuxfoundation Opentelemetry-Go and 1 more product
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 wi...
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linuxfoundation | Opentelemetry-Go | ≥ 1.21.0, < 1.40.0 |
| Opentelemetry | Opentelemetry | ≥ 1.21.0, < 1.40.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-24051 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-072189-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-02-02 |
| Last modified | 2026-10-19 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-426: CWE-426
Related attack patterns (CAPEC)
CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-426
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
OpenTelemetry-Go SDK versions v1.20.0-1.39.0 are vulnerable to Path Hijacking on macOS/Darwin systems, allowing an attacker to execute arbitrary commands by modifying the PATH environment variable.
The vulnerability lies in the resource detection code in sdk/resource/host_id.go, which executes the ioreg system command using a search path. An attacker can exploit this by manipulating the PATH environment variable to point to a malicious version of the ioreg command.
Questions
What is CVE-2026-24051?
OpenTelemetry-Go SDK versions v1.20.0-1.39.0 are vulnerable to Path Hijacking on macOS/Darwin systems, allowing an attacker to execute arbitrary commands by modifying the PATH environment variable.
What is the CVSS score for CVE-2026-24051?
CVE-2026-24051 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2026-24051 actively exploited?
No confirmed active exploitation of CVE-2026-24051 as of 2026-10-25.
How do I remediate CVE-2026-24051?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-24051?
CVE-2026-24051 affects Linuxfoundation Opentelemetry-Go; Opentelemetry Opentelemetry.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Linuxfoundation","product":"Opentelemetry-Go","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.