GHSA-r7c9-c69m-rph8 · Severity: critical · Ecosystem: composer — Code Injection in PHPUnit
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.
Conclusion & alert: CVE-2017-9841 is rated Critical Active Threat (100/100): CVSS Critical severity, with high exploitation likelihood (EPSS 100.00%, 100th percentile). Core evidence: CISA KEV confirms active exploitation (added 2022-02-15) affecting PHPUnit / PHPUnit. a weakness (CWE-94) Unauthenticated remote administrative access may be possible. EPSS rose +5.84% over the last day, indicating growing attacker interest. Mandatory action: The CISA remediation deadline has passed—treat as an emergency patch priority.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
: PHPUnit Command Injection Vulnerability · CISA KEV detail
: 2022-02-15
: 2022-08-15
: Apply updates per vendor instructions.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 50702 | exploit_db | edb | 2022-02-02 | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 94.16% | 100.00% | +5.84% |
| 2 | 2025-11-25 | 94.35% | 94.16% | -0.19% |
| 3 | 2025-11-21 | — | 94.35% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
GHSA-r7c9-c69m-rph8 · Severity: critical · Ecosystem: composer — Code Injection in PHPUnit
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2017-9841 not yet assigned priority: Debian including 1 source packages (phpunit), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2017-9841 |
gentoo
|
normal | CVE-2017-9841: 1 GLSA(s) (201711-15), 1 atom(s) (dev-php/phpunit); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2017-9841 |
ubuntu
|
high | CVE-2017-9841 high priority: Ubuntu including 1 source packages (phpunit), 20 status rows across 20 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, trusty, upstream, xenial, yakkety, zesty): not-affected 14, ignored 3, released 2, DNE 1. | https://ubuntu.com/security/CVE-2017-9841 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| phpunit_project | phpunit | <= 4.8.27 | cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* |
| phpunit_project | phpunit | >= 5.0.0, < 5.6.3 | cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* |
| oracle | communications_diameter_signaling_router | >= 8.0.0, <= 8.5.0 | cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ | Third Party Advisory |
| http://www.securityfocus.com/bid/101798 | Broken Link |
| http://www.securitytracker.com/id/1039812 | Broken Link |
| https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 | Patch Third Party Advisory |
| https://github.com/sebastianbergmann/phpunit/pull/1956 | Patch Third Party Advisory |
| https://security.gentoo.org/glsa/201711-15 | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpuoct2021.html | Patch Third Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841 | US Government Resource |