CVE-2026-81192: OpenTelemetry.Resources.Host Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-v8pv-4842-x354
CVSS 7.0
CWE-426
Published
Advisory Summary

CVE-2026-81192 is a HIGH (CVSS 7.0) remote code execution vulnerability (CWE-426: Untrusted Search Path) affecting OpenTelemetry.Resources.Host libraries in the NuGet ecosystem. The issue involves opentelemetry.resources.host vulnerable to arbitrary code execution via local path hijacking on macos. Remediation is available by upgrading affected packages to version 1.16.0-beta.2.

CVE-2026-81192 at a Glance

CVE Identifier CVE-2026-81192
GHSA Identifier GHSA-v8pv-4842-x354
Severity HIGH
CVSS v3.1 Base Score 7.0
CWE Classification CWE-426: Untrusted Search Path
Affected Product OpenTelemetry.Resources.Host
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 7.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-81192

To remediate this vulnerability, upgrade all affected OpenTelemetry.Resources.Host dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

OpenTelemetry.Resources.Host fixed: 1.16.0-beta.2
Upgrade OpenTelemetry.Resources.Host to 1.16.0-beta.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for OpenTelemetry.Resources.Host

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-81192, inspect your project dependencies for OpenTelemetry.Resources.Host:

inspect dependencies for OpenTelemetry.Resources.Host

Analyze the terminal output to locate any version of OpenTelemetry.Resources.Host in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.16.0-beta.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-426: Untrusted Search Path, where the product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control. In OpenTelemetry.Resources.Host, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1631). The vulnerability was fixed by [open-telemetry/opentelemetry-dotnet-contrib#4760](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/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 - [GHSA-9h8m-3fm2-qjrq](https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-9h8m-3fm2-qjrq) - [open-telemetry/opentelemetry-dotnet-contrib#4760](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4760) - [CWE-426](https://cwe.mitre.org/data/definitions/426.html)

CVE-2026-81192 Affected OpenTelemetry.Resources.Host Versions

1 component(s)
Fixed Versions:
1.16.0-beta.2
Product / Package Ecosystem Affected Versions Fixed Version
OpenTelemetry.Resources.Host
NuGet
< 1.16.0-beta.2
1.16.0-beta.2

References

Frequently Asked Questions

What is CVE-2026-81192?
CVE-2026-81192 is a security vulnerability in OpenTelemetry.Resources.Host involving OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS under CWE-426: Untrusted Search Path.
Which OpenTelemetry.Resources.Host versions are affected?
Affected versions include releases prior to 1.16.0-beta.2 across affected packages: OpenTelemetry.Resources.Host.
What version fixes CVE-2026-81192?
Upgrading to 1.16.0-beta.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is OpenTelemetry.Resources.Host affected?
Yes, OpenTelemetry.Resources.Host is affected in releases prior to 1.16.0-beta.2. Upgrade your dependency to 1.16.0-beta.2 or later.
What is the CVSS score of CVE-2026-81192?
CVE-2026-81192 has a CVSS v3.1 base score of 7.0 (HIGH) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-81192?
CVE-2026-81192 is classified under CWE-426: Untrusted Search Path (The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.).
How can I check NuGet dependencies for CVE-2026-81192?
Run the dependency tree command: 'inspect dependencies for OpenTelemetry.Resources.Host'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-v8pv-4842-x354",
  "modified" : "2026-09-16T13:54:16Z",
  "published" : "2026-09-16T13:54:16Z",
  "aliases" : [ "CVE-2026-81192" ],
  "summary" : "OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS",
  "details" : "### Summary\n\nThe `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\nthrough the `PATH` environment variable.\n\nA 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\ncode execution/privilege escalation.\n\n### Details\n\nThe 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](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1631).\n\nThe vulnerability was fixed by [open-telemetry/opentelemetry-dotnet-contrib#4760](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4760) which executes `ioreg` directly using its absolute path.\n\n### Impact\n\nApplications 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.\n\n### Mitigation\n\nThis vulnerability only affect macOS hosts - Linux and Windows hosts are unaffected.\n\n### Workarounds\n\nNone known.\n\n### References\n\n- [GHSA-9h8m-3fm2-qjrq](https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-9h8m-3fm2-qjrq)\n- [open-telemetry/opentelemetry-dotnet-contrib#4760](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4760)\n- [CWE-426](https://cwe.mitre.org/data/definitions/426.html)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "OpenTelemetry.Resources.Host"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.16.0-beta.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-v8pv-4842-x354"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-81192"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1631"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4760"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet-contrib"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-426" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-16T13:54:16Z",
    "nvd_published_at" : "2026-09-08T21:18:43Z"
  }
}