7.8

CVE-2026-41570: phpunit_project phpunit Argument Injection

CVSS: 7.8v3.1HighAnalyzed
AliasesUBUNTU-CVE-2026-41570DEBIAN-CVE-2026-41570
Published 08-05-2026Last modified 08-05-2026

Vulnerability summary

CVE-2026-41570 is a high (CVSS 7.8) Argument Injection vulnerability in phpunit_project phpunit. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 19.6% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · +0.09 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 08-05-2026
    PublishedVulnerability first disclosed.
  2. 08-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

+0.09 pp

From 0.19% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.28%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • phpunitAll versions (No fix recorded)
Phpunit_project1 product
Sebastianbergmann1 product
Ubuntu1 product
  • phpunitAll versions (No fix recorded)

4 vendors · 4 products

References

5 links