CVE-2026-24051
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-02-02
- Last modified
- 2026-10-19
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.2 %
higher than 5 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apple | Macos | all versions listed | Not affected |
| Opentelemetry | Opentelemetry | ≥ 1.21.0, < 1.40.0 | Affected |
Weakness type
-
CWE-426: Untrusted Search Path
The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1574.007: Path Interception by PATH Environment Variable
- T1574.009: Path Interception by Unquoted Path
References
- https://github.com/open-telemetry/opentelemetry-go/commit/d45961bcda453fcbdb6469c22d6e88a…
- https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-9h8m-3fm2-qjrq
Related at Berigo
Articles
-
A flaw in Chrome's JavaScript engine is already being exploited
Same product
2026-09-26
On 3 September 2026 Google released Chrome 152.0.7977.82 with twelve security fixes. One of them, CVE-2026-85046 in V8, has an exploit in the wild ac…
-
Hijacked Rust crates ran malicious code during the build
Same product
2026-08-24
Three widely used Rust crates were republished on 20 August 2026 with a hidden dependency that ran malicious code during compilation. The Rust Securi…
-
Older iPhones got 122 security flaws fixed in a single update
Same product
2026-08-18
Apple shipped four security updates on 17 August 2026. The update for the older system line covers only four hardware models, and fixes 122 unique CV…
-
Attackers are logging in to Macs without a password through Screen Sharing
Same product
2026-08-15
Apple shipped an emergency fix for macOS Screen Sharing after a flaw that lets an attacker on the network log in without valid credentials. The Dutch…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.