{"id":"CVE-2026-39883","aliases":["CVE-2026-39883","GHSA-hfvc-g4fc-pqhx","GO-2026-5426"],"related":["CGA-vpw6-rgj5-prpf"],"kind":"vulnerability","state":"published","title":"OpenTelemetry-Go has an incomplete fix for CVE-2026-24051: BSD kenv command not using absolute path enables PATH hijacking","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nThe fix for GHSA-9h8m-3fm2-qjrq (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.\n\n## Root Cause\n\n`sdk/resource/host_id.go` line 42:\n\n    if result, err := r.execCommand(\"kenv\", \"-q\", \"smbios.system.uuid\"); err == nil {\n\nCompare with the fixed Darwin path at line 58:\n\n    result, err := r.execCommand(\"/usr/sbin/ioreg\", \"-rd1\", \"-c\", \"IOPlatformExpertDevice\")\n\nThe `execCommand` helper at `sdk/resource/host_id_exec.go` uses `exec.Command(name, arg...)` which searches `$PATH` when the command name contains no path separator.\n\nAffected platforms (per build tag in `host_id_bsd.go:4`): DragonFly BSD, FreeBSD, NetBSD, OpenBSD, Solaris.\n\nThe `kenv` path is reached when `/etc/hostid` does not exist (line 38-40), which is common on FreeBSD systems.\n\n## Attack\n\n1. Attacker has local access to a system running a Go application that imports `go.opentelemetry.io/otel/sdk`\n2. Attacker places a malicious `kenv` binary earlier in `$PATH`\n3. Application initializes OpenTelemetry resource detection at startup\n4. `hostIDReaderBSD.read()` calls `exec.Command(\"kenv\", ...)` which resolves to the malicious binary\n5. Arbitrary code executes in the context of the application\n\nSame attack vector and impact as CVE-2026-24051.\n\n## Suggested Fix\n\nUse the absolute path:\n\n    if result, err := r.execCommand(\"/bin/kenv\", \"-q\", \"smbios.system.uuid\"); err == nil {\n\nOn FreeBSD, `kenv` is located at `/bin/kenv`.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Opentelemetry-go: BSD kenv command not using absolute path enables PATH hijacking in go.opentelemetry.io/otel/sdk","format":"markdown","source":"go"},{"lang":"es","text":"OpenTelemetry-Go es la implementación en Go de OpenTelemetry. Desde la versión 1.15.0 hasta la 1.42.0, la corrección para CVE-2026-24051 cambió el comando ioreg de Darwin para usar una ruta absoluta, pero dejó el comando kenv de BSD usando un nombre simple, lo que permitía el mismo ataque de secuestro de PATH en plataformas BSD y Solaris. Esta vulnerabilidad está corregida en la versión 1.43.0.","source":"nvd"}],"published":"2026-04-08T19:22:12.000Z","modified":"2026-09-10T03:51:01.896Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.3,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-426"],"affected":[{"ranges":[{"version":">= 1.15.0, < 1.43.0","status":"affected"}],"vendor":"open-telemetry","product":"opentelemetry-go","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1788348594","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Cert Manager support for Red Hat OpenShift release 1.19","package":"cert-manager/cert-manager-istio-csr-rhel9","cpe":"cpe:/a:redhat:cert_manager:1.19::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1781539691","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"multicluster engine for Kubernetes 2.8","package":"multicluster-engine/assisted-service-8-rhel8","cpe":"cpe:/a:redhat:multicluster_engine:2.8::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1781539725","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"multicluster engine for Kubernetes 2.8","package":"multicluster-engine/assisted-service-9-rhel9","cpe":"cpe:/a:redhat:multicluster_engine:2.8::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782932114","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/cephcsi-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782931768","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/cephcsi-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782932104","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/devicefinder-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783536000","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/mcg-core-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783535989","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/mcg-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783536515","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/ocs-client-console-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782932521","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/ocs-client-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783018461","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/ocs-metrics-exporter-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783018421","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/ocs-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782932812","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-blackbox-exporter-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783537001","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-cli-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782932919","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-cloudnative-pg-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783537586","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-console-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782932969","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-cosi-sidecar-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782933015","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-csi-addons-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782933042","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-csi-addons-sidecar-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783537392","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-drbd-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782933235","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-external-snapshotter-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782933251","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-external-snapshotter-sidecar-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783537955","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-multicluster-console-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782933417","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-multicluster-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783537742","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-must-gather-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782933602","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odf-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1783019377","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odr-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782934054","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odr-volsync-plugin-mover-rhel9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782934036","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/odr-volsync-plugin-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1782934284","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4.22","package":"odf4/rook-ceph-rhel9-operator","cpe":"cpe:/a:redhat:openshift_data_foundation:4.22::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1785203474","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Workload Availability 0.3","package":"workload-availability/storage-based-remediation-rhel9-operator","cpe":"cpe:/a:redhat:workload_availability_sbr:0.3::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1785203079","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Workload Availability 0.8","package":"workload-availability/fence-agents-remediation-rhel9-operator","cpe":"cpe:/a:redhat:workload_availability_far:0.8::el9","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.15.0","status":"affected","fixed":"1.43.0"}],"ecosystem":"Go","package":"go.opentelemetry.io/otel/sdk","purl":"pkg:golang/go.opentelemetry.io/otel/sdk","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.15.0","status":"affected","fixed":"1.43.0"}],"ecosystem":"Go","package":"go.opentelemetry.io/otel/sdk","purl":"pkg:golang/go.opentelemetry.io/otel/sdk","source":"go"},{"ranges":[{"status":"affected","introduced":"1.15.0","fixed":"1.43.0"}],"vendor":"opentelemetry","product":"opentelemetry","cpe":"cpe:2.3:a:opentelemetry:opentelemetry:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-hfvc-g4fc-pqhx","tags":["advisory","exploit","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"http://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.43.0","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-39883","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2456718","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39883.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:63140","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:54286","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:54274","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:37387","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26257","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26254","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39883","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/open-telemetry/opentelemetry-go","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-10T20:52:34.310Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39883","url":"https://www.cve.org/CVERecord?id=CVE-2026-39883","licence":"CVE Terms of Use","modified":"2026-09-09T12:04:54.916Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hfvc-g4fc-pqhx","url":"https://github.com/advisories/GHSA-hfvc-g4fc-pqhx","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:01.896Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5426","url":"https://pkg.go.dev/vuln/GO-2026-5426","licence":"CC-BY-4.0","modified":"2026-07-30T15:59:51.544Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39883","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39883","licence":"Public domain","modified":"2026-09-09T13:19:48.837Z"}],"updatedAt":"2026-11-25T22:59:18.314Z","epss":{"score":0.00268,"percentile":0.20244,"date":"2026-12-01T12:00:22.000Z"}}