Improper Neutralization of Argument Delimiters in a Command in PHPUnit - CVE-2026-41570
Published: April 17, 2026
Vulnerability details
The vulnerability allows a local user to execute arbitrary code.
The vulnerability exists due to improper neutralization of argument delimiters in PHPUnit\Util\PHP\JobRunner::settingsToParameters() when forwarding PHP INI settings to child processes. A local user can inject a newline-containing INI value to execute arbitrary code.
Exploitation requires control over the content of an INI value read by PHPUnit, such as values from phpunit.xml, the host PHP runtime configuration, or the PHP binary environment.