# CVE-2026-81192: OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-426
- **Aliases:** GHSA-v8pv-4842-x354
- **Published:** 2026-09-08T20:18:08.845Z
- **Modified:** 2026-09-16T14:00:04.957Z

## Who should check

- Projects that depend on NuGet package OpenTelemetry.Resources.Host (\< 1.16.0-beta.2)
- Anyone running open-telemetry opentelemetry-dotnet-contrib \< 1.16.0-beta.2

## 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.

## Affected and fixed versions

- NuGet `OpenTelemetry.Resources.Host`: affected \< 1.16.0-beta.2; fixed 1.16.0-beta.2 (osv)
- open-telemetry opentelemetry-dotnet-contrib: \< 1.16.0-beta.2 (cvelist)

## Mitigation

- Upgrade OpenTelemetry.Resources.Host to 1.16.0-beta.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-81192. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-81192.md
Affected: OpenTelemetry.Resources.Host < 1.16.0-beta.2
Fixed in: 1.16.0-beta.2

Steps:
1. Search this machine and project for OpenTelemetry.Resources.Host (NuGet), open-telemetry opentelemetry-dotnet-contrib: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-81192 being exploited?

There is no confirmed exploitation: CVE-2026-81192 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-81192?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-81192?

OpenTelemetry.Resources.Host \< 1.16.0-beta.2.

### Is there a fix for CVE-2026-81192?

Yes. Fixed in 1.16.0-beta.2. Upgrade OpenTelemetry.Resources.Host to 1.16.0-beta.2 or later.

### How do I check if I'm affected by CVE-2026-81192?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-v8pv-4842-x354>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-81192>
- patch: <https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1631>
- patch: <https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4760>
- other: <https://github.com/open-telemetry/opentelemetry-dotnet-contrib>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-81192>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-v8pv-4842-x354> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-81192> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-81192>
