NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
HIGH severity

CVE-2026-24051 — sdk

HIGHFix: open-telemetry/opentelemetry-go@d45961b

CVE-2026-24051 is a high-severity (CVSS 7) CWE-426 vulnerability in go.opentelemetry.io/otel/sdk. A fix is available for go.opentelemetry.io/otel/sdk — see the affected versions and patch details below.

OpenTelemetry-Go Affected by Arbitrary Code Execution via PATH Hijacking

Also known asGHSA-9h8m-3fm2-qjrqGO-2026-4394
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 8, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-24051.

EPSS Exploitation Probability

via FIRST.org ↗
0.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs7th percentile — riskier than 7% of all scored CVEsHighest risk
0.00%0.23%0.45%0.68%0.0%0.2%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐹go.opentelemetry.io/otel/sdk

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

Impact

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.

Patches

This has been patched in d45961b, which was released with v1.40.0.

References

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogo.opentelemetry.io/otel/sdk≥ 1.21.0&&< 1.40.01.40.0go get go.opentelemetry.io/otel/sdk@v1.40.0

Affected Products

1 product · 1 configurations
Application
opentelemetryopentelemetry
≥ 1.21.0 && < 1.40.0
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for go.opentelemetry.io/otel/sdk, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update go.opentelemetry.io/otel/sdk to 1.40.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-24051 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatLow

Red Hat Workload Availability Operators FAR (fence-agents-remediation) and SBR (storage-based-remediation) bundle go.opentelemetry.io/otel/sdk in the vulnerable range (>=1.21.0, <1.40.0) prior to the rhwa-4.22-1 patch release. Fixed by bumping to v1.44.0 in the far-0.8.1 and sbr-0.3.1 streams. This flaw was previously…

Workaround published by Red Hat
No customer action required for FAR/SBR as deployed on OpenShift: the vulnerable resource-detection code path only executes on macOS/Darwin hosts via the 'ioreg' command, which is never invoked on Red Hat's Linux container images. Fixed proactively via dependency bump to go.opentelemetry.io/otel/sdk v1.44.0 in far-0.8.1 and sbr-0.3.1.
Source: Red Hat security advisory for CVE-2026-24051 (CC BY 4.0)

Frequently Asked Questions

### Impact 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. ### Patches This has been patched in [d45961b](https://github.com/open-telemetry/opentelemetry-go/commit/d45961bcda453fcbdb6469c22d6e88a1f9970a53), which was released with `v1.40
O3 Security · Impact-Aware SCA

Is CVE-2026-24051 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2026-24051: sdk RCE — Fixed in 1.40.0