Skip to main content
CVE-2026-41570VulnerabilityPublished Updated

In versions 12.5.21 and 13.1.5, PHPUnit forwards PHP INI settings to child processes (used for isolated/PHPT test

Affects phpunitSource GCVE Database

0
Compare
Authoritative record:CVE-2026-41570· High 7.8

Not known to be exploited · CVSS 7.8 High · fixed in 12.5.22 : patch phpunit soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 12.5.22
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10phpunitpkg:deb/ubuntu/phpunit?arch=source&distro=stonkingOther threatsAffected
  • =13.0.0-2ubuntu6
  • =13.2.6+ds-1
Fixed in–
Ubuntu 26.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=resoluteOther threatsAffected
  • =11.5.19-1build4
  • =13.0.0-2ubuntu6
Fixed in–
Ubuntu 25.10phpunitpkg:deb/ubuntu/phpunit?arch=source&distro=questingOther threatsAffected
  • =11.5.3-1ubuntu4
  • =11.5.19-1build4
Fixed in–
Ubuntu 24.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=nobleOther threatsAffected
  • 9.6.10-1 – 9.6.17-1
5 affected builds
Fixed in–
Ubuntu 22.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=jammyOther threatsAffected
  • =9.5.4-1
  • =9.5.10-1ubuntu2
Fixed in–
Ubuntu 20.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=focalOther threatsAffected
  • =7.5.6-1
  • =8.5.2-1ubuntu1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…