CVE-2026-81192: CWE-426: Untrusted Search Path in open-telemetry opentelemetry-dotnet-contrib
Description
An untrusted search path vulnerability exists in the OpenTelemetry.Resources.Host NuGet package for macOS hosts prior to version 1.16.0-beta.2. The vulnerability arises because the host.id resource attribute detector launches the 'sh' and 'ioreg' executables by bare name, relying on the PATH environment variable for resolution. A local attacker with lower privileges who can manipulate the PATH or write to a directory earlier in the PATH can execute arbitrary binaries in the application's security context, leading to local code execution or privilege escalation. This issue affects only macOS hosts; Linux and Windows are not impacted. The vulnerability is patched in version 1.16.0-beta.2. No known workarounds are available.
CVSS v3.1
Score 7.0high
Affected software
open-telemetry
opentelemetry-dotnet-contrib
pkg:nuget/opentelemetry.resources.hostRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The OpenTelemetry.Resources.Host NuGet package (opentelemetry-dotnet-contrib) on macOS versions prior to 1.16.0-beta.2 suffers from CWE-426 (Untrusted Search Path). The host.id resource detector launches 'sh' and 'ioreg' without absolute paths, allowing resolution via the PATH environment variable. A local attacker with limited privileges who can influence PATH or write to directories earlier in PATH can cause arbitrary binaries to be executed in the context of the host application, resulting in local code execution or privilege escalation. This vulnerability is fixed in version 1.16.0-beta.2.
Potential Impact
Local attackers with lower privileges than the host application can exploit this vulnerability to execute arbitrary code or escalate privileges on macOS hosts running affected versions of the OpenTelemetry.Resources.Host package. This can compromise confidentiality, integrity, and availability of the affected system. Linux and Windows hosts are not affected.
Mitigation Recommendations
Upgrade to OpenTelemetry.Resources.Host version 1.16.0-beta.2 or later, which contains the official fix for this vulnerability. No known workarounds exist. Applying the patch is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-26T16:26:08.968Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aa07239acd9273b4931f782
Added to database: 09/08/2026, 20:38:17 UTC
Last enriched: 09/16/2026, 02:32:01 UTC
Last updated: 10/22/2026, 13:15:24 UTC
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.