CVE-2017-9841: PHPUnit Command Injection Vulnerability
Actively exploited. At least one CVE in this advisory is listed in the CISA Known Exploited Vulnerabilities catalog — exploitation has been observed in the wild. Treat remediation as urgent.
PHPUnit allows remote attackers to execute arbitrary PHP code via HTTP POST data beginning with a "<?php " substring, as demonstrated by an attack on a site with an exposed /vendor folder, i.e., external access to the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI.
CSIRTS triage
- What
- A command injection vulnerability allows remote attackers to execute arbitrary PHP code.
- Who is affected
- Deployments of PHPUnit with exposed /vendor folder are affected.
- Urgency
- Remediation is critical due to active exploitation.
- Action
- Restrict access to the /vendor folder and upgrade PHPUnit.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch PHPUnit
Get an email when a new PHPUnit advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2017-9841
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Exploitation confirmedCVE-2017-9841Already exploited in the wild (CISA KEV) — the prediction phase is over. Patch now. Riskier than 100% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2017-9841 | coverage & exploitation status | NVD · CVE.org |
More from CISA Known Exploited Vulnerabilities
- criticalCVE-2026-48939: iCagenda Unrestricted Upload of File with Dangerous Type Vulnerability2026-07-10
- criticalCVE-2026-56291: Balbooa Forms Unrestricted Upload of File with Dangerous Type Vulnerability2026-07-10
- criticalCVE-2026-48908: JoomShaper SP Page Builder Unrestricted Upload of File with Dangerous Type Vulnerability2026-07-07
- criticalCVE-2026-55255: Langflow Authorization Bypass Through User-Controlled Key Vulnerability2026-07-07
- criticalCVE-2026-48282: Adobe ColdFusion Path Traversal Vulnerability2026-07-07