DEBIAN-CVE-2026-119193

Source
https://security-tracker.debian.org/tracker/CVE-2026-119193
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-119193.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-119193
Upstream
Published
2026-10-29T20:17:30Z
Modified
2026-10-31T10:00:53Z
Severity
  • 5.4 (Medium) CVSS_V4 - 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:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:14 / phpunit

Package

Name
phpunit
Purl
pkg:deb/debian/phpunit?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
13.4.5+ds-1

Affected versions

11.*
11.5.19-1
12.*
12.0.2-1
12.0.3-1
12.0.4-1
12.0.5-1
12.0.7-1
12.0.7-2
12.0.8-1
12.0.9-1
12.0.10-1
12.1.0-1
12.1.2-1
12.1.3-1
12.1.4-1
12.1.5-1
12.1.6-1
12.2.1-1
12.2.2-1
12.2.3-1
12.2.5-1
12.2.6-1
12.2.7-1
12.3.0-1
12.3.3-1
12.3.4-1
12.3.5-1
12.3.6-1
12.3.7-1
12.3.8-1
12.3.11-1
12.3.12-1
12.3.14-1
12.3.15-1
12.3.15-2
12.4.0-1
12.4.1-1
12.4.2-1
12.4.3-1
12.4.4-1
12.4.5-1
12.5.1-1
12.5.2-1
12.5.3-1
12.5.4-1
12.5.5-1
12.5.6-1
12.5.7-1
12.5.8-1
12.5.9-1
13.*
13.0.0-1
13.0.0-2
13.0.1-1
13.0.2-1
13.0.3-1
13.0.5-1
13.0.6-1
13.0.6-2
13.0.6-3
13.1.0-1
13.1.1-1
13.1.3-1
13.1.5-1
13.1.6-1
13.1.7-1
13.1.8+ds-1
13.1.9+ds-1
13.1.13+ds-1
13.1.13+ds-2
13.1.14+ds-1
13.2.0+ds-1
13.2.1+ds-1
13.2.2+ds-1
13.2.3+ds-1
13.2.4+ds-1
13.2.4+ds-2
13.2.5+ds-1
13.2.6+ds-1
13.3.0+ds-1
13.3.0+ds-2
13.3.1+ds-1
13.3.2+ds-1
13.3.3+ds-1
13.3.4+ds-1
13.3.5+ds-1
13.3.6+ds-1
13.4.1+ds-1
13.4.1+ds-2
13.4.2+ds-1
13.4.3+ds-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-119193.json"