
Каталог CVE
CVE-2026-119193
phpunit affected and fixed versions
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.
- Критичність
- High · CVSS 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.14% · Nov 22, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | phpunit | 13.4.5+ds-1 | FixedDistribution-reported fixed boundary | [CVE-2026-119193] |
| Debiansid | phpunit | 13.4.8+ds-1 | Fixed | [CVE-2026-119193] |
| Debianforky | phpunit | 13.4.5+ds-1 | FixedDistribution-reported fixed boundary | [CVE-2026-119193] |
| Debianforky | phpunit | 13.4.8+ds-1 | Fixed | [CVE-2026-119193] |
More observations (4)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | phpunit | Not reported | Not affectedDistribution reports not affected | [CVE-2026-119193] |
| Debianbookworm | phpunit | 9.6.7-1+deb12u1 | Not affected | [CVE-2026-119193] |
| Debiantrixie | phpunit | Not reported | Not affectedDistribution reports not affected | [CVE-2026-119193] |
| Debiantrixie | phpunit | 11.5.19-1+deb13u1 | Not affected | [CVE-2026-119193] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [phpunit]Не уражена
Подробиці (2)
9.6.7-1+deb12u1· all · bookwormНе уражена
dsa · phpunit · debian · bookworm
9.6.7-1+deb12u1· all · bookwormНе уражена
dsa · phpunit · debian · bookworm
Спостережено:
Посилання
- [https://github.com/sebastianbergmann/phpunit/commit/ae31c78a86e9d6c641497bacf47462d7bb7d7f34]
- [https://github.com/sebastianbergmann/phpunit/releases/tag/13.4.4]
- [https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-9vw2-f4vp-x7gf]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-119193]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-119193]
- [https://security-tracker.debian.org/tracker/CVE-2026-119193]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-119193.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]