OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-426.
Summary
`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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| open-telemetry | opentelemetry-dotnet-contrib | before 1.16.0-beta.2 | 1.16.0-beta.2 | Patch available | CNA |
| — | OpenTelemetry.Resources.Host (NuGet) | before 1.16.0-beta.2 | 1.16.0-beta.2 | Patch available | GHSA-v8pv-4842-x354 |
- opentelemetry-dotnet-contrib Vendoropen-telemetry Affected before 1.16.0-beta.2 Fixed in 1.16.0-beta.2 Patch available CNA
- OpenTelemetry.Resources.Host (NuGet) Vendor— Affected before 1.16.0-beta.2 Fixed in 1.16.0-beta.2 Patch available GHSA-v8pv-4842-x354
Remediation
- Fix · CNA opentelemetry-dotnet-contrib (open-telemetry) Fixed in 1.16.0-beta.2
- Fix · GHSA-v8pv-4842-x354 OpenTelemetry.Resources.Host (NuGet) Fixed in 1.16.0-beta.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-81192
- 2026-10-03 Alias added: GHSA-v8pv-4842-x354
References
Other 4
- https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-v8pv-4842-x354
- https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1631
- https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4760
- https://github.com/open-telemetry/opentelemetry-dotnet-contrib
More open-telemetry vulnerabilities
- TI-2024-23957 OpenTelemetry Collector has a Denial of Service via Zip/Decompression Bomb sent over HTTP or gRPC CVSS 3.1HIGH 8.2
- TI-2026-42706 OpenTelemetry JavaScript: Denial of service in `JaegerPropagator` via unhandled exception on a malformed header CVSS 3.1HIGH 7.5
- TI-2026-33428 OpenTelemetry eBPF Instrumentation: Memcached payload length overflow can crash OBI CVSS 3.1HIGH 7.5
- TI-2026-33427 OpenTelemetry eBPF Instrumentation: MongoDB parser panics on malformed wire messages CVSS 3.1HIGH 7.5
- TI-2026-33420 OpenTelemetry eBPF Instrumentation: Postgres BIND parsing can panic on malformed payloads CVSS 3.1HIGH 7.5
- TI-2026-32777 opentelemetry-js: Prometheus exporter process crash via malformed HTTP request CVSS 3.1HIGH 7.5
Sources
- CVE-2026-81192 · CVE Program
- CVE-2026-81192 · NVD
- FIRST EPSS
- GHSA-v8pv-4842-x354 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences