CVE-2026-39883

OpenTelemetry-Go has an incomplete fix for CVE-2026-24051: BSD kenv command not using absolute path enables PATH hijacking

Published Apr 8, 2026 CVSS 4.0 · 7.3 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Type Values Removed Values Added
First Time appeared Opentelemetry
Opentelemetry opentelemetry-go
Vendors & Products Opentelemetry
Opentelemetry opentelemetry-go
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 9, 2026, 12:04 PM
Reserved
Apr 7, 2026, 8:32 PM
Status
Modified
Published
Apr 8, 2026, 9:17 PM
Modified
Sep 9, 2026, 1:19 PM