{"id":"CVE-2026-81192","state":"PUBLISHED","title":"OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS","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.","publishedAt":"2026-09-08T20:18:08.845Z","updatedAt":"2026-09-09T15:43:01.911Z","severity":{"score":7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["open-telemetry opentelemetry-dotnet-contrib"],"affected":[{"vendor":"open-telemetry","product":"opentelemetry-dotnet-contrib","versions":[{"version":"< 1.16.0-beta.2","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-426"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/81xxx/CVE-2026-81192.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81192","state":"PUBLISHED","datePublished":"2026-09-08T20:18:08.845Z","dateUpdated":"2026-09-09T15:43:01.911Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-26T16:26:08.968Z"},"containers":{"cna":{"title":"OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS","descriptions":[{"lang":"en","value":"`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":[{"vendor":"open-telemetry","product":"opentelemetry-dotnet-contrib","versions":[{"version":"< 1.16.0-beta.2","status":"affected"}]}],"references":[{"url":"https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-v8pv-4842-x354","name":"https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-v8pv-4842-x354","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1631","name":"https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1631","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4760","name":"https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4760","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-426","lang":"en","description":"CWE-426: Untrusted Search Path","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-08T20:18:08.845Z"},"source":{"advisory":"GHSA-v8pv-4842-x354","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-09T15:42:53.826252Z","id":"CVE-2026-81192","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-09T15:43:01.911Z"}}]}}}