CVE-2026-119193
Last modified
CVE-2026-119193 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.11% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| sebastianbergmann | phpunit | >= 13.4.0, < 13.4.4 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-119193?
How severe is CVE-2026-119193?
How do I fix CVE-2026-119193?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-119186Forge (also called node-forge) is a native implementation of…5.9
- CVE-2026-119187Forge (also called node-forge) is a native implementation of…7.5
- CVE-2026-119188Forge (also called node-forge) is a native implementation of…7.5
- CVE-2026-119189Forge (also called node-forge) is a native implementation of…5.9
- CVE-2026-119190Forge (also called node-forge) is a native implementation of…7.4
- CVE-2026-119191Forge (also called node-forge) is a native implementation of…7.5
- CVE-2026-119194pyasn1 is a generic ASN.1 library for Python. From 0.3.3 unt…7.5
- CVE-2026-119195pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5…7.5
- CVE-2026-119196pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5…7.5
- CVE-2026-119197pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5…7.5
- CVE-2026-119198Nuxt is an open-source web development framework for Vue.js.…5.9
- CVE-2026-119199Nuxt is an open-source web development framework for Vue.js.…5.9
Are you affected by CVE-2026-119193?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
