Two days after PHP rolled out emergency fixes for the PHP2Shell vulnerabilities, threat actors have tried to use the flaws to spread a Mirai botnet. A security firm has also built an exploit that gets past a key memory protection, and an exposed attacker server has revealed custom tooling.
Even so, no successful in-the-wild compromise has been confirmed so far.
The threat has prompted many organizations to take systems offline as a precaution. Several government, school and hospital websites in Europe went dark on October 21, and the UK government said 32 of its services were unavailable and four partly unavailable, mostly due to precautionary measures taken while patches were applied.
PHP2Shell is the name given to CVE-2026-109618 and CVE-2026-109619, two critical bugs in the PHP engine that can be exploited for unauthenticated remote code execution. Each has a CVSS v4.0 score of 9.2.
Wiz, OpenAI and Calif found the issues in August. PHP patched them on October 21 with versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35, one day earlier than planned, after the CVE identifiers leaked online.
Amazon spotted the first exploitation attempt on October 17, and attack activity surged once the fixes went out. Vendors, security firms and government agencies have since issued advisories, detection rules and patching guidance.
Mirai botnet linked to exploitation attempts
Sophos says threat actors have tried to leverage PHP2Shell to install Potassium, which it believes is a variant of the Mirai botnet. The attempt it analyzed was stopped, so the malware never reached the targeted system.
Sophos describes the sample as an updated build, with more functionality, of a Mirai-derived strain first identified in early 2026. It can download additional malware and launch DDoS attacks.
Sophos’s latest analysis corrected an earlier update from the company that reported a successful exploitation.
Arctic Wolf connected two Potassium binaries to the servers hosting PHP2Shell payloads. However, it said its data does not show the PHP2Shell requests fetching or running the malware.
Hunt.io attributed the PHP2Shell traffic it observed to an established Mirai-style botnet, active since at least May 2026, that recently added the flaws to the methods it uses to spread.