sebastianbergmann phpunit 12.5.21/13.1.5 INI Parser auto_prepend_file crlf injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in sebastianbergmann phpunit 12.5.21/13.1.5. Affected by this issue is the function auto_prepend_file of the component INI Parser. Executing a manipulation can lead to crlf injection.
This vulnerability is handled as CVE-2026-41570. It is possible to launch the attack on the local host. There is not any exploit available.
The affected component should be upgraded.
Details
A vulnerability was found in sebastianbergmann phpunit 12.5.21/13.1.5. It has been declared as critical. This vulnerability affects the function auto_prepend_file of the component INI Parser. The manipulation with an unknown input leads to a crlf injection vulnerability. The CWE definition for the vulnerability is CWE-93. The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability was named CVE-2026-41570 since 04/21/2026. The exploitation appears to be easy. The attack needs to be approached locally. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 313605 (Linux Distros Unpatched Vulnerability : CVE-2026-41570), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 12.5.21, 12.5.22, 13.1.5 or 13.1.6 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (313605). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Vendor
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.8
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Crlf injectionCWE: CWE-93 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 313605
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-41570
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: phpunit 12.5.21/12.5.22/13.1.5/13.1.6
Patch: github.com
Timeline
04/21/2026 CVE reserved05/08/2026 Advisory disclosed
05/08/2026 VulDB entry created
05/10/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-qrr6-mg7r-m243
Status: Confirmed
CVE: CVE-2026-41570 (🔒)
GCVE (CVE): GCVE-0-2026-41570
GCVE (VulDB): GCVE-100-362176
Entry
Created: 05/08/2026 18:17Updated: 05/10/2026 00:51
Changes: 05/08/2026 18:17 (68), 05/10/2026 00:51 (2)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.