脆弱性データベースGHSA-fc6f-cp96-6g5w

GHSA-fc6f-cp96-6g5w: 
PHP 脆弱性分析と緩和策

Summary

The host resource detector in open-telemetry/sdk runs a helper program to read the machine ID on macOS, Windows and BSD. It runs that program through a shell, by name, so the shell looks it up on PATH. On Windows it also looks in the current directory. A program with the same name placed earlier in that search runs instead, as the user running PHP, and its output becomes host.id. The detector is enabled by default, and runs each time the SDK builds its default resource. With OTEL_PHP_AUTOLOAD_ENABLED=true that is once per request.

Affected

  • macOS: affected. The detector runs ioreg and awk. Replacing either one is enough.
  • Windows: affected. The detector runs powershell.exe. A file with that name in a directory on PATH, or in the working directory of the PHP process, runs instead.
  • FreeBSD and other BSDs: affected only when /etc/hostid is missing or unreadable. The detector then runs which and kenv. A default FreeBSD install creates /etc/hostid at boot, so this mostly applies to jails and to read-only or diskless systems.

Not affected

  • Linux. The detector reads /etc/machine-id and runs no program. This includes PHP in Docker on a macOS or Windows host, because the container runs Linux.
  • Applications whose OTEL_PHP_DETECTORS lists detectors without host.
  • Applications that use declarative configuration without host under resource.detection/development.detectors.
  • Versions before 1.1.0.

Preconditions

The attacker needs to put a file in a directory that is searched before the system directory. Usually that is a directory on the PHP process's PATH. On Windows the process's working directory also counts. The attacker gains something only when PHP runs as a different, more privileged account than their own. An account that can already write to those directories as the PHP user can usually replace other programs or the application itself. This is mostly a risk for developer machines, shared build hosts and self-hosted CI runners, not production servers.

Patches

Fixed in <version>. The detector runs /usr/sbin/ioreg, /bin/kenv and %SystemRoot%\System32\reg.exe by absolute path, without a shell, as the semantic conventions require.

Workarounds

Set OTEL_PHP_DETECTORS to a list without host, for example OTEL_PHP_DETECTORS=process. With declarative configuration, leave host out of resource.detection/development.detectors.


ソース: NVD

関連 PHP 脆弱性:

CVE ID

重大度

スコア

テクノロジー

コンポーネント名

CISA KEVのエクスプロイト

修正あり

出版日

CVE-2026-33944HIGH8.8
  • PHP logoPHP
  • dolibarr/dolibarr
いいえはいNov 05, 2026
GHSA-6vhm-xfmv-94pjHIGH7.5
  • PHP logoPHP
  • simplesamlphp/saml2
いいえいいえNov 05, 2026
GHSA-fc6f-cp96-6g5wHIGH7
  • PHP logoPHP
  • open-telemetry/sdk
いいえはいNov 06, 2026
CVE-2026-121949LOW2.3
  • PHP logoPHP
  • symfony/html-sanitizer
いいえはいNov 05, 2026
GHSA-q2gc-fpw5-3v3cMEDIUM該当なし
  • JavaScript logoJavaScript
  • tina4-python
いいえはいNov 05, 2026

無料脆弱性評価

クラウドセキュリティの姿勢をベンチマークしましょう

9つのセキュリティ領域にわたるクラウドセキュリティの実践を評価し、リスクレベルをベンチマークし、防御のギャップを特定しましょう。

評価のリクエスト

Wizのその他のリソース

パーソナライズされたデモを見る

実際に Wiz を見てみませんか?​

"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
デビッド・エストリックCISO (最高情報責任者)
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
アダム・フレッチャーチーフ・セキュリティ・オフィサー
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"
グレッグ・ポニャトフスキ脅威および脆弱性管理責任者