CVE-2026-24051CWE-426

CVE-2026-24051

High · published February 3, 2026

CVSS v3.1
7.0
EPSS
0%
Percentile
7.0
In the wild
Unconfirmed
What it is

⚡ A sneaky path hijacking vulnerability in OpenTelemetry-Go versions v1.20.0-1.39.0 can lead to arbitrary code execution on macOS — it’s like an invited guest rearranging the entire guest list at a party! 🎉 Think of it like an untrustworthy party planner who decides to change the venue mid-event, allowing unwelcome guests access to all your secrets. If someone can modify the PATH environment variable, they can effectively redirect the application to run malicious code. An attacker could exploit this flaw to execute arbitrary code within your application’s context, potentially gaining unauthorized access to sensitive data or system resources. This could lead to serious data breaches or system compromises that are absolutely devastating!

Put simply

Think of it like an untrustworthy party planner who decides to change the venue mid-event, allowing unwelcome guests access to all your secrets. If someone can modify the PATH environment variable, they can effectively redirect the application to run malicious code. The vulnerability arises from the OpenTelemetry Go SDK's resource detection code executing the `ioreg` system command without properly validating the search path. As a result, if an attacker alters the PATH variable, they can execute arbitrary commands.

What to do

An attacker could exploit this flaw to execute arbitrary code within your application’s context, potentially gaining unauthorized access to sensitive data or system resources. This could lead to serious data breaches or system compromises that are absolutely devastating! To secure your systems, update the OpenTelemetry-Go SDK to version v1.40.0 or later immediately. Additionally, review your PATH environment variable configurations and consider applying restrictions to mitigate future exploitation risks. You've got this! By following these steps, you'll block this vulnerability and keep your applications safe. 🛡️

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00179 · 7.0th percentile
Weakness
CWE-426 · Untrusted Search Path
Published
2026-02-03T04:16Z
Affected products (1)
ProductVersionsFixed in
opentelemetry/opentelemetry≥ 1.21.0, < 1.40.01.40.0
References (2)
EPSS history
Timeline
  • 02 FEB 19:49Z
    OpenTelemetry-Go Affected by Arbitrary Code Execution via PATH Hijacking
    cvelistv5