CVE-2026-119193
PHPUnit vulnerable to code execution by other local users via shared temporary directory in PHPT code coverage handling
P3 CVSS最高 5.4
公式ソースで確認された事実(機械抽出)
| 公式説明(原文・英語) | PHPUnit is a testing framework for PHP. From 13.4.0 until 13.4.4, the TestCase::coverageFilesDirectory() logic in src/Runner/Phpt/TestCase.php creates temporary files for PHPT code coverage in a predictable phpunit-phpt directory under sys_get_temp_dir() and reuses that directory without verifying its ownership or permissions. On multi-user systems with a shared temporary path, a local attacker who creates the directory before the developer runs PHPT tests with code coverage can replace the generated job file before the child process executes it with require, allowing arbitrary code execution with the developer's privileges while the test and coverage report appear successful. PHPUnit 12.5 and earlier, default macOS and Windows configurations with per-user temporary directories, and single-user environments where another user cannot create files in the temporary path are not affected. This issue is fixed in 13.4.4. |
|---|---|
| 悪用状況 | 不明 |
| KEV(米CISA既知悪用脆弱性カタログ) | 未登録(確認 —)。KEV未掲載は「悪用されていない」ことを意味しません。 |
| CVSS評価 | security-advisories-at-github.com CVSS 4.0: 5.4 security-advisories-at-github.com: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R: |
| EPSS(今後30日以内の悪用確率・FIRST) | — |
| 修正バージョン | 公表なし |
| 公表日 | 2026年10月30日 04:35 |
| 最終更新 | 2026年10月30日 05:17 |
| 最終確認 | 2026年10月30日 14:40 |
対象製品・バージョン
| 製品 | 影響バージョン | 修正バージョン | ベンダー修正済み | 利用者対応要否 |
|---|---|---|---|---|
| sebastianbergmann phpunit | >= 13.4.0, < 13.4.4 | — | 未告知 | 未告知 |
「ベンダー修正済み」と「利用者対応要否」は別の事実として管理しています(ベンダー修正済みでも利用者側の更新が必要です)。
出典・根拠
AIによる補助要約
AIによる補助要約は無効化されています(無料運用のため既定ではオフ)。一次情報をご確認ください。