{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-41570","published":"2026-05-08T15:16:40.420000Z","last_modified":"2026-10-26T18:10:00.173000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-88","CWE-93"],"cpes":[{"criteria":"cpe:2.3:a:phpunit_project:phpunit:12.5.21:*:*:*:*:-:*:*","part":"a","vendor":"phpunit_project","product":"phpunit","version":"12.5.21"},{"criteria":"cpe:2.3:a:phpunit_project:phpunit:13.1.5:*:*:*:*:-:*:*","part":"a","vendor":"phpunit_project","product":"phpunit","version":"13.1.5"}],"cpes_truncated":false,"vendors":["phpunit_project"],"products":["phpunit_project/phpunit"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qrr6-mg7r-m243","ecosystem":"Packagist","name":"phpunit/phpunit","purl":"pkg:composer/phpunit/phpunit","ranges":[{"introduced":"12.5.21","fixed":"12.5.22"}],"versions":["12.5.21"],"versions_truncated":false},{"advisory":"GHSA-qrr6-mg7r-m243","ecosystem":"Packagist","name":"phpunit/phpunit","purl":"pkg:composer/phpunit/phpunit","ranges":[{"introduced":"13.1.5","fixed":"13.1.6"}],"versions":["13.1.5"],"versions_truncated":false}],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2026-41570/","html_en":"/en/cve/CVE-2026-41570/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-41570","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-41570"},"untrusted":{"vendor_name":"Phpunit Project","product_name":"Phpunit","desc_en":"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.","affected":[{"untrusted_vendor":"sebastianbergmann","untrusted_product":"phpunit","versions":[]}],"references":[{"url":"https://github.com/sebastianbergmann/phpunit/pull/6592","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-qrr6-mg7r-m243","tags":["Mitigation","Patch","Vendor Advisory"]}]}}