CVE-2026-81192 — Vulnerability in OpenTelemetry.Resources.Host
OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.18%). Schedule for your next planned update.
Does your project use an affected OpenTelemetry.Resources.Host version?
Paste your packages.lock.json to check it for CVE-2026-81192 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
The OpenTelemetry.Resources.Host NuGet package is affected by an untrusted search path vulnerability on macOS. 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.
Details
The implementation of the host detector macOS has always invoked ioreg and sh via their bare names since it was implemented by open-telemetry/opentelemetry-dotnet-contrib#1631.
The vulnerability was fixed by open-telemetry/opentelemetry-dotnet-contrib#4760 which executes ioreg directly using its absolute path.
Impact
Applications running on macOS that use the OpenTelemetry.Resources.Host detector when an attacker who is less privileged than the application process can influence PATH or write to a PATH directory that precedes the system directories (e.g. a higher-privileged service with a user-writable directory in its search path, or a process inheriting an attacker-influenced environment). The attacker gains code execution in the application's security context through an attacker-controlled ioreg executable.
Mitigation
This vulnerability only affect macOS hosts - Linux and Windows hosts are unaffected.
Workarounds
None known.
References
Advisory Timeline
- First published September 16, 2026 (71 days ago).
- Last revised September 16, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package OpenTelemetry.Resources.Host --version 1.16.0-beta.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: NuGet (1).
| Package | Fixed In |
|---|---|
| OpenTelemetry.Resources.Host NuGet · Affected: All versions | 1.16.0-beta.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-426
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.0 score means for each attack dimension.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-v8pv-4842-x354WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-81192ADVISORY
- https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1631WEB
- https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4760WEB
- https://github.com/open-telemetry/opentelemetry-dotnet-contribPACKAGE
Frequently Asked Questions
- What is CVE-2026-81192?
- OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.0/10).
- How do I check if my project is affected by CVE-2026-81192?
- CVE-2026-81192 affects OpenTelemetry.Resources.Host. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-81192 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 4.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-102529HIGH
HtmlSanitizer: CSS Removal DoS
- CVE-2026-63184HIGH
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion