CVE-2026-81192
nicheUntrusted search path in OpenTelemetry.Resources.Host NuGet package on macOS
The OpenTelemetry.Resources.Host NuGet package, which provides host resource detectors for OpenTelemetry .NET, launches the `sh` and `ioreg` executables by bare name when computing the `host.id` resource attribute, so on macOS both are resolved through the PATH environment variable instead of by absolute path. A local attacker who is less privileged than the host application and can influence PATH, or write to a directory that appears ahead of the system directories in PATH, can have an arbitrary binary executed in the application's security context, gaining local code execution and potentially privilege escalation. Only macOS hosts are affected; Linux and Windows deployments of the package are unaffected. All versions prior to 1.16.0-beta.2 are vulnerable, and version 1.16.0-beta.2 contains the patch. No exploitation is currently known: EPSS estimates about a 0.1% probability of exploitation within 30 days, the issue is not in CISA KEV, and no public proof-of-concept exists.
What to do: Upgrade OpenTelemetry.Resources.Host to version 1.16.0-beta.2 or later on any macOS hosts running instrumented .NET applications; no workarounds are available. Until patched, check whether any macOS applications embedding this detector run with a PATH that less-privileged local users can influence (e.g., writable directories ahead of the system directories) and treat those as the highest-risk deployments. Linux and Windows hosts require no action.
| OpenTelemetry .NET project (CNCF) OpenTelemetry.Resources.Host (NuGet package, host.id resource attribute detector) | < 1.16.0-beta.2 (macOS hosts only; Linux and Windows unaffected) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
`OpenTelemetry.Resources.Host` NuGet package, which provides OpenTelemetry resource detectors for host, is affected by an untrusted search path vulnerability on macOS. Prior to version 1.16.0-beta.2, the `host.id` resource attribute detector launches the `sh` and `ioreg` executables by bare name rather than by absolute path, so both are resolved through the `PATH` environment variable. A local attacker who is less privileged than the host application, and who can influence `PATH` or write to a directory that appears in `PATH` ahead of the system directories, can have an arbitrary binary executed in the application's security context, resulting in local code execution/privilege escalation. This vulnerability only affect macOS hosts - Linux and Windows hosts are unaffected. Version 1.16.0-beta.2 contains a patch. No known workarounds are available.
- Weakness
- CWE-426
- Vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
In the news0 stories
No ingested article mentions this CVE yet.