ACTIVELY EXPLOITED

CVE-2017-9841: PHPUnit Command Injection Vulnerability

Facts
VendorPHPUnit
ProductPHPUnit
Actively exploitedYes
Added to CISA KEV15 Feb 2022
CISA federal deadline15 Aug 2022
Weakness (CWE)CWE-94

Required action (CISA's text)

Apply updates per vendor instructions.

Description (NVD)

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.

SOURCES

Data from NVD, CISA KEV, FIRST EPSS and vendor advisories. Updated 10 Nov 2026.