CVE-2026-81192 OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nuget OpenTelemetry.Resources.Host(NuGet) | < 1.16.0-beta.2 | 1.16.0-beta.2 | Fixed |
| open-telemetry opentelemetry-dotnet-contrib | = < 1.16.0-beta.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nuget OpenTelemetry.Resources.Host(NuGet) | < 1.16.0-beta.2 | 1.16.0-beta.2 |
| open-telemetry opentelemetry-dotnet-contrib | = < 1.16.0-beta.2 | No fix listed |
References
- https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-v8pv-4842-x354 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1631 patch
- https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4760 patch
- github.com product
- github.com
- ENISA EUVD EUVD-2026-74187 third-party-advisory