Каталог CVE

CVE-2026-119193

phpunit affected and fixed versions

[Каталог CVE]

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 7CVSS: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 / releasePackageVersionStatusSource
Debiansidphpunit13.4.5+ds-1FixedDistribution-reported fixed boundary[CVE-2026-119193]
Debiansidphpunit13.4.8+ds-1Fixed[CVE-2026-119193]
Debianforkyphpunit13.4.5+ds-1FixedDistribution-reported fixed boundary[CVE-2026-119193]
Debianforkyphpunit13.4.8+ds-1Fixed[CVE-2026-119193]
More observations (4)
Distribution / releasePackageVersionStatusSource
DebianbookwormphpunitNot reportedNot affectedDistribution reports not affected[CVE-2026-119193]
Debianbookwormphpunit9.6.7-1+deb12u1Not affected[CVE-2026-119193]
DebiantrixiephpunitNot reportedNot affectedDistribution reports not affected[CVE-2026-119193]
Debiantrixiephpunit11.5.19-1+deb13u1Not 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

Спостережено:

Посилання