CVE-2026-119193
NoneCVSS
—
EPSS
0.1%
Published
Oct 29, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-118990 CallBackery versions before 0.62.0 for Perl leave a world-readable dump of the… CWE-379
- CVE-2026-85028 Creation of a temporary file in a directory with insecure permissions in the FPGA… CWE-379
- CVE-2026-82346 A potential security vulnerability has been identified in the HP ImageDiags for versions… CWE-379
- CVE-2026-50544 NortheBridge/luminalshine is a Sunshine-compatible game stream host for Moonlight. CWE-379
- CVE-2026-14551 The servereye client (also known as sensorhub, technically ClientAgentContainerService)… CWE-379
- CVE-2026-46388 osquery is a SQL powered operating system instrumentation, monitoring, and analytics… CWE-379
- CVE-2026-7539 A potential security vulnerability has been identified in the HP Accessory WMI Provider… CWE-379
- CVE-2026-54328 Pi is a minimal terminal coding harness. CWE-379