Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
PHPUnit versions 12.5.21 before 12.5.22 and 13.1.5 before 13.1.6 forward INI values to child processes without neutralizing newlines, so a value with an embedded newline can inject extra INI directives such as auto_prepend_file. An attacker must be able to control an INI value PHPUnit reads, such as in phpunit.xml, the host php.ini, or the PHP environment, which in practice means a crafted pull request in CI; the impact could be remote code execution in the child process. Upgrade to phpunit/phpunit 12.5.22 or 13.1.6.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.8 | High | 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0019, the 8th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:25 UTC First seen by agentprime
- 31 Oct 2026, 14:25 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-qrr6-mg7r-m243
- OSV: GHSA-qrr6-mg7r-m243
- github.com/sebastianbergmann/phpunit/security/advisories/GHSA-qrr6-mg7r-m243
- nvd.nist.gov/vuln/detail/CVE-2026-41570
- github.com/sebastianbergmann/phpunit/pull/6592
- github.com/FriendsOfPHP/security-advisories/blob/master/phpunit/phpunit/CVE-2026-41570.yaml
- github.com/sebastianbergmann/phpunit