Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-41570: PHPUnit is a testing framework for PHP

29
Routine
HIGH 7.8DOWNGRADE

CVE-2026-41570 is a high-severity flaw (CVSS 7.8) affecting phpunit. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 proce

Why this priority

  • High severity

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score7.8 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.2% (top 91%)
CISA exploited listNo
WeaknessCWE-88, CWE-93
Published2026-05-08
Last modified2026-10-26
Publisher (CNA): GitHub, Inc. · Vendor: phpunit project

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

phpunit project phpunit DOWNGRADE
Affected: 12.5.21 · 13.1.5
Fixed in: no fixed release known
Safe to downgrade to: a release before 12.5.21
1. Check installed version
apt-cache policy phpunit || rpm -q phpunit || phpunit --version
2. No fixed release: DOWNGRADE to a release before 12.5.21 (Debian / Ubuntu)
apt-cache madison phpunit sudo apt install phpunit=<VERSION_BEFORE_12.5.21> sudo apt-mark hold phpunit
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list phpunit sudo dnf downgrade phpunit-<VERSION_BEFORE_12.5.21> sudo dnf versionlock add phpunit
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-41570?

phpunit: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2026-41570 being exploited?

CVE-2026-41570 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-41570 affect?

CVE-2026-41570 affects phpunit. Severity is high (CVSS 7.8). 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 metacharac

How urgent is CVE-2026-41570?

Priority 29/100. High severity

Software pages

PHP vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.