Vulnerabilities/PHPUnit/CVE-2017-9841
CVE-2017-9841: PHPUnit Command Injection Vulnerability
CISA KEV entry · Last checked 15 Nov 2026, 13:39 UTC
Exploitation confirmedFix: Unknown
CVSS 3.1 · NVD9.8Critical
EPSS100.0%100th percentile · 15 Nov 2026
CISA KEVListedAdded 15 Feb 2022
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.
Recommended action
Apply updates per vendor instructions.
CISA due date 15 Aug 2022 · CWE-94
Am I affected?
| Product | Affected versions | Fixed in |
|---|---|---|
| PHPUnit PHPUnit | Unknown | Unknown |
No source states a fixed version. Check the vendor advisory below.
Before you patch
Restart
See vendor guidance.Known issues
Check release notes.Verification
Confirm installed version.Timeline
- 15 Feb 2022 · Added to CISA KEV
- 15 Aug 2022 · CISA due date
Sources checked
| CISA KEV | 15 Nov 2026, 13:39 UTC |
| CVE List v5 | 30 Oct 2026, 12:10 UTC |
| NVD | 15 Nov 2026, 13:39 UTC |
| FIRST EPSS | 15 Nov 2026, 13:39 UTC |
Data from CISA, MITRE, NVD and FIRST. Sources and licences.
Wrong affected version, fix or exploitation status? Report a correction. Include the vendor source if you have it.