CVE-2026-41570Disclosure(phpunit_project / phpunit)

LOWCVSS 7.8 · HIGH

Exploit discussion active in current signal (1 latest mentions)

Immediate actions

  • Patch phpunit_project phpunit systems immediately
  • Hunt for exploitation attempts and persistence artifacts
  • Increase monitoring for publicly documented tradecraft

Recommended action window: High priority (within 72h)

NVD 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.

2.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-88CWE-93

Priority

LOW

Exploitation

NONE

PoC

YES

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • phpunit

Threat summary

  • Public PoC is present in monitored signal
  • Patch or workaround signal is available
  • 5 mentions across 4 observed days
  • Momentum state: stable

What's happening

  • PoC mentioned or linked in 1 signal
  • Patch or workaround mentioned in 2 signals
  • Technical details provided in 4 signals
  • Disclosure: 3 classified signals
  • Peaked 1d ago at 2 mentions (2026-05-08); latest day: 1
  • 5 total mentions across 4 days

Affected systems

Products
phpunit

2 versions affected across 1 product

Deep dive

Activity timeline5 mentions / 4d
01122Mentions · 2026-04-22: 1Mentions · 2026-04-23: 1Mentions · 2026-05-08: 2Mentions · 2026-05-26: 1PoC Mentioned / Linked · 2026-04-23: 1Patch / Workaround · 2026-04-22: 1Patch / Workaround · 2026-05-26: 1Technical Details · 2026-04-22: 1Technical Details · 2026-05-08: 2Technical Details · 2026-05-26: 104-2204-2305-0805-26
Signal classification2 categories
Disclosure
360.0%
Patch
240.0%
Referenced assets4 URLs
Classification over time
DateTotalLabels
2026-04-221
Patch1
2026-04-231
Disclosure1
2026-05-082
Disclosure2
2026-05-261
Patch1
Full discourse5 posts
  • Gray Hats@the_yellow_fall
    Patch

    PHPUnit CVE-2026-41570 allows RCE via invisible newline injection in CI/CD pipelines. Secure your build servers—update to 12.5.22 or 13.1.6 today. #PHPUnit #RCE #DevSecOps #InfoSec #PHP #CyberSecurity #CI_CD #GitHubActions https://securityonline.info/phpunit-rce-vulnerability-cve-2026-41570-pipeline-risk/ https://t.co/AbOkxRfdwg

    Post summary

    The tweet announces that PHPUnit CVE‑2026‑41570 enables remote code execution via newline injection in CI/CD pipelines and urges users to update to versions 12.5.22 or 13.1.6 to patch the issue.

    10032455
    12.5K followersView on X
  • Kai Wei@KaiWei_capper
    Disclosure

    升级 PHPUnit 12 时顺手挖到的小问题,居然拿了人生第一个 CVE 🎉 CVE-2026-41570 https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-qrr6-mg7r-m243 https://securityonline.info/phpunit-rce-vulnerability-cve-2026-41570-pipeline-risk/

    Post summary

    A new PHPUnit vulnerability (CVE‑2026‑41570) was disclosed during an upgrade, with links to the official advisory and a security article, but no exploit details, patch information, or active exploitation claim were provided.

    0001058
    42 followersView on X
  • DFIR Lab@DFIR_Lab
    Patch

    🚨 HIGH: CVE-2026-41570 (CVSS 7.8) - PHPUnit testing framework vulnerable to INI injection attack enabling RCE. Affects v12.5.21 & 13.1.5. Patch NOW to 12.5.22/13.1.6. #CVE #Vulnerability #PatchNow https://t.co/p0KUMDJEn5

    Post summary

    The tweet announces CVE‑2026‑41570, highlights its high‑severity RCE risk via INI injection, and urges immediate patching to specific newer versions.

    0000054
    30 followersView on X
  • Kaitan ID Security@KaitanSecurity
    Disclosure

    ⚠️ HIGH — CVE-2026-41570 PHPUnit is a testing framework for PHP. In versions 12.5.21 and 13.1.5, PHPUnit forwards PHP INI settings to child proc… CVSS 7.8 Full analysis → https://sec.kaitan.id/cves/CVE-2026-41570 #HP #CyberSecurity #InfoSec

    Post summary

    The post announces a high‑severity CVE (CVE‑2026‑41570) affecting PHPUnit 12.5.21 and 13.1.5, where PHP INI settings are forwarded to child processes, with a CVSS score of 7.8 and a link to a full analysis.

    0000037
    90 followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2026-41570 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) a… https://www.cve.org/CVERecord?id=CVE-2026-41570

    Post summary

    The post discloses that PHPUnit in specific versions propagates PHP INI settings to child processes, potentially compromising test isolation.

    0000037
    57.5K followersView on X
CPE platform detail2 entries

2 of 2 entries

PartVendorProductVersionTarget SWTarget HW
Appphpunit_projectphpunit12.5.21--
Appphpunit_projectphpunit13.1.5--

Explore more