Description
OpenTelemetry-Go is the Go implementation of OpenTelemetry. From 1.15.0 to 1.42.0, the fix for CVE-2026-24051 changed the Darwin ioreg command to use an absolute path but left the BSD kenv command using a bare name, allowing the same PATH hijacking attack on BSD and Solaris platforms. This vulnerability is fixed in 1.43.0.
Published: 2026-04-08
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: PATH Hijacking – Potential Privilege Escalation
Action: Patch Immediately
AI Analysis

Impact

The fix for CVE-2026-24051 improved the Darwin ioreg command but left the BSD kenv command unresolved with a bare command name. A malicious or compromised environment that inserts a rogue location early in the PATH can cause the vulnerable library to invoke an attacker‑supplied executable instead of the intended system command. This enables the execution of arbitrary code with the privileges of the running application and may lead to privilege escalation.

Affected Systems

The vulnerability affects the OpenTelemetry-Go library for versions 1.15.0 through 1.42.0 on BSD and Solaris operating systems. Implementations that import and use the opentelemetry-go package in that range are susceptible. This issue has been corrected in version 1.43.0.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.3, indicating high severity. The EPSS score of less than 1% suggests a low probability of exploitation in the wild, and the issue is not in the CISA KEV catalog. Exploitation would require a local attacker to alter the PATH environment of a process that includes the affected library, so the attack vector is most likely local. Successful exploitation could compromise confidentiality, integrity, or availability by running arbitrary code.

Generated by OpenCVE AI on April 9, 2026 at 19:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest opentelemetry-go release (v1.43.0) or later
  • If an upgrade is not possible, enforce a trusted PATH by removing any kenv executable from the system PATH or by setting the PATH environment variable to a known safe value before launching the application
  • Monitor logs for unexpected execution of system commands or anomalies that may indicate a PATH hijacking attempt

Generated by OpenCVE AI on April 9, 2026 at 19:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hfvc-g4fc-pqhx opentelemetry-go: BSD kenv command not using absolute path enables PATH hijacking
History

Fri, 10 Apr 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 09 Apr 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Opentelemetry opentelemetry
CPEs cpe:2.3:a:opentelemetry:opentelemetry:*:*:*:*:*:go:*:*
Vendors & Products Opentelemetry opentelemetry
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 09 Apr 2026 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Opentelemetry
Opentelemetry opentelemetry-go
Vendors & Products Opentelemetry
Opentelemetry opentelemetry-go

Wed, 08 Apr 2026 20:45:00 +0000

Type Values Removed Values Added
Description OpenTelemetry-Go is the Go implementation of OpenTelemetry. From 1.15.0 to 1.42.0, the fix for CVE-2026-24051 changed the Darwin ioreg command to use an absolute path but left the BSD kenv command using a bare name, allowing the same PATH hijacking attack on BSD and Solaris platforms. This vulnerability is fixed in 1.43.0.
Title OpenTelemetry-Go has an incomplete fix for CVE-2026-24051: BSD kenv command not using absolute path enables PATH hijacking
Weaknesses CWE-426
References
Metrics cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Opentelemetry Opentelemetry Opentelemetry-go
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-10T20:52:54.819Z

Reserved: 2026-04-07T20:32:03.010Z

Link: CVE-2026-39883

cve-icon Vulnrichment

Updated: 2026-04-10T20:52:50.295Z

cve-icon NVD

Status : Modified

Published: 2026-04-08T21:17:00.697

Modified: 2026-04-10T21:16:27.120

Link: CVE-2026-39883

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-10T09:40:33Z

Weaknesses