
CVE catalog
CVE-2026-41570
PHPUnit is a testing framework for PHP. In versions 12.5.21 and 13.1.5, PHPUnit forwards PHP INI settings to child processes (used for isolated/PHPT test execution) as -d name=value command-line argum
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.19% · Oct 27, 2026
PHPUnit is a testing framework for PHP. In versions 12.5.21 and 13.1.5, PHPUnit forwards PHP INI settings to child processes (used for isolated/PHPT test execution) as -d name=value command-line arguments without neutralizing INI metacharacters. Because PHP's INI parser interprets " as a string delimiter, ; as the start of a comment, and most importantly a newline as a directive separator, a value containing a newline is parsed by the child process as multiple INI directives. An attacker able to influence a single INI value can therefore inject arbitrary additional directives into the child's configuration, including auto_prepend_file, extension, disable_functions, open_basedir, and others. Setting auto_prepend_file to an attacker-controlled path yields remote code execution in the child process. This issue has been patched in versions 12.5.22 and 13.1.6.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | phpunit | sid | 13.4.5+ds-1 | not affected |
| Debian | phpunit | forky | 13.4.3+ds-1 | not affected |
| Debian | phpunit | trixie | 11.5.19-1+deb13u1 | not affected |
| Debian | phpunit | bookworm | 9.6.7-1+deb12u1 | not affected |
| Cpe | phpunit | Not reported | Not reported | unknown |
| Cpe | phpunit | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | phpunit | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | phpunit | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | phpunit | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | phpunit | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [phpunit]Not affected
Details (2)
9.6.7-1+deb12u1· all · bookwormNot affected
nvd · phpunit · debian · bookworm
9.6.7-1+deb12u1· all · bookwormNot affected
nvd · phpunit · debian · bookworm
Observed:
References
- [https://github.com/sebastianbergmann/phpunit/pull/6592]
- [https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-qrr6-mg7r-m243]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-41570]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-41570]
- [https://security-tracker.debian.org/tracker/CVE-2026-41570]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41570.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]