Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
phpunit/phpunit versions 4.8.19 to before 4.8.28 and 5.0.10 to before 5.6.3 have a code injection flaw in a utility script. A remote attacker who can reach that script over HTTP, such as on a site with an exposed vendor folder, can send crafted POST data to run arbitrary PHP code. Upgrade to 4.8.28 or 5.6.3, and do not serve the vendor folder to the web.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.8 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H | GitHub Advisory Database |
- CISA KEV Listed since 15 Feb 2022: known to be exploited.
- EPSS 1.00, the 99th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:26 UTC First seen by agentprime
- 31 Oct 2026, 14:26 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r7c9-c69m-rph8
- OSV: GHSA-r7c9-c69m-rph8
- nvd.nist.gov/vuln/detail/CVE-2017-9841
- github.com/sebastianbergmann/phpunit/pull/1955
- github.com/sebastianbergmann/phpunit/pull/1956
- github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5
- github.com/sebastianbergmann/phpunit/commit/3aaddb1c5bd9b9b8d070b4cf120e71c36fd08412
- github.com/FriendsOfPHP/security-advisories/blob/master/phpunit/phpunit/CVE-2017-9841.yaml
- github.com/sebastianbergmann/phpunit
- security.gentoo.org/glsa/201711-15
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841
- www.oracle.com/security-alerts/cpuoct2021.html
- web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com
- www.securityfocus.com/bid/101798