Exploited. On CISA's list since 2022-02-15.
PHPUnit Command Injection Vulnerability
CVE-2017-9841 · PHPUnit PHPUnit · Published 2017-06-27
How bad would it be?
9.8 out of 10
CVSS rates it critical: about as damaging as flaws get.
How likely is it to be used?
over 99%
Estimated chance of exploitation in the next 30 days, among the top 1% of all scored flaws (EPSS, 2026-10-29).
Is it already being used?
Yes
CISA has seen it exploited in real attacks. For US government agencies the fix is deadline passed 1537 days ago (2022-08-15).
What CISA says to do
Apply updates per vendor instructions.
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.
What the flaw is
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 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.
From the NVD.
Fixes and advisories
Learn this
Explore this week’s weaknesses and all learning topics
Understand the kind of weakness behind this flaw. These resources teach the weakness, rather than reproduce this specific CVE. Follow the vendor's advice above to fix the affected product.
CWE-94 · CISA KEV; NVD record: 134c704f-9b21-4f2e-91b3-4a467353bcc0; NVD record: nvd@nist.gov. We have not selected a close learning match for this label.
CWE is a catalogue of weakness types. Labels come from the sources shown and can differ or change. Resource matches reviewed 16 October 2026.
On SentryFeed
No story in the last 14 days has mentioned it.
Exploited flaws from CISA's KEV catalogue. Chance of exploitation from EPSS by FIRST. Descriptions and scores from the NVD. This product uses the NVD API but is not endorsed or certified by the NVD.