CVE-2017-9841 · Seen in our measurements
Our sensor sees attempts on CVE-2017-9841 in PHPUnit
The Ester sensor in Norway saw the first attempt against CVE-2017-9841 on 1 November 2026. An attacker can run their own code. Here is what it affects and what to do.
Intelliapp AS · Published 4 November 2026
Figures now
Updated 5 December 2026 at 01:49
- In CISA KEV
- Yes, since 15 February 2022
- Deadline for US agencies
- 15 August 2022
- EPSS (30 days)
- 99.9%, higher than 99.9% of all
- First attempt we saw in Norway
- 1 November 2026
- Last attempt we saw in Norway
- 4 December 2026
- Attempts last 7 days
- 38
- Attempts last 30 days
- 323
- Fixed in composer:phpunit/phpunit
- 4.8.28
- Fixed in composer:phpunit/phpunit
- 5.6.3
The figures say what public sources and our measurements in Norway show. They say nothing about whether your own systems are affected.
What it is
The vulnerability CVE-2017-9841 affects PHPUnit. The description says that it can let the attacker run their own code.
CISA calls it PHPUnit Command Injection Vulnerability and describes it as follows: “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.”
Is it being exploited?
Yes. CISA added it on 15 February 2022 to KEV, which only lists vulnerabilities with confirmed attacks. US federal agencies must fix it by 15 August 2022. The Ester sensor in Norway saw the first attempt against it on 1 November 2026. The sensor is a machine that only receives attacks and records them; the figures below are updated continuously. EPSS estimates a 100.0% probability that it will be exploited in the next 30 days, higher than 100.0% of all vulnerabilities with a CVE number.
What you should do
- Update phpunit/phpunit (composer) to 4.8.28 or later.
- Update phpunit/phpunit (composer) to 5.6.3 or later.
- Run the dependency check again after upgrading, so you see that the old version is gone from indirect dependencies too.
- Pin versions in the lockfile and update regularly, not only when something is urgent.
- Review the logs from before you updated. An actively exploited vulnerability may have been used before it was fixed.
What Ester can do
The dependency check in Ester reads the lockfiles you upload and reports the package with the version that fixes it. Customers who have it in a lockfile get it in their alert.
Sources
- CISA Known Exploited Vulnerabilities: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2017-9841
- GitHub Advisory Database (CC BY 4.0): https://github.com/advisories/GHSA-r7c9-c69m-rph8
- EPSS figures from FIRST: https://www.first.org/epss
- The Ester sensor in Norway (Intelliapp)
Timeline
- 15 February 2022 · Added to CISA KEV
- 1 November 2026 · First attempt we saw in Norway
- 4 November 2026 · This page was published