Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-41570

31
FAUCET Score

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.

First published: May 8, 2026Last modified: May 8, 2026

Impacted Technologies

VendorProductVersion(s)CPE
12.5.21CPE matchmatch criteria
cpe:2.3:a:phpunit_project:phpunit:12.5.21:*:*:*:*:-:*:*
13.1.5CPE matchmatch criteria
cpe:2.3:a:phpunit_project:phpunit:13.1.5:*:*:*:*:-:*:*

CVSS Data

CVSS version used by this source: 3.1

7.8HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.19%
Probability of exploitation in next 30 days
EPSS Percentile
9.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.0019 is in the 34th percentile among its peer group of 16,994 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

composerpatch availablevia ghsa
Product: phpunit/phpunitFixed in: 12.5.22
composerpatch availablevia ghsa
Product: phpunit/phpunitFixed in: 13.1.6
github_advisorypatch availablevia nvd_reference
View patch

Vendor Advisories (1)

composerGHSA-qrr6-mg7r-m243high

PHPUnit has Argument injection via newline in PHP INI values that are forwarded to child processes

Apr 18, 2026

References

github.com / sebastianbergmann/phpunit/pull/6592
Issue TrackingPatch
github.com / sebastianbergmann/phpunit/security/advisories/GHSA-qrr6-mg7r-m243
MitigationPatchVendor Advisory