AI v. AI: The new game of offense and defense
AI helped uncover one of the most severe vulnerabilities in software history, affecting PHP, a free, open-source programming language that runs nearly 70% of the internet by working behind the scenes, assembling webpage content on the server before sending it to a visitor's browser. On October 21, 2026, the PHP project released emergency fixes for two critical flaws that let attackers seize web servers without a password. Governments worldwide have urged organizations to patch now or pull vulnerable sites offline, and many government websites, from Europe to Australia, Japan, and the UK, went dark themselves as a precaution. If your organization runs a website, confirming PHP exposure and promptly taking the appropriate next steps is critical.
According to the PHP project's October 21 security advisory, the two flaws could let attackers run code on a server without logging in, and all PHP installations that handle website requests are at risk. CERT-EU, the EU's cybersecurity response team, reports that each flaw has a severity rating of 9.2 out of 10 under the Common Vulnerability Scoring System (CVSS). CERT-EU warns that commercial and open-source products that use PHP behind the scenes could also be affected, even if their PHP installation is not directly accessible.
The National Security Agency (NSA) stated in its October 21 advisory that PHP2Shell could allow attackers to take control of affected web servers without prior access or authentication, helping them steal sensitive data, disrupt services, or move deeper into a network. NSA emphasized that these are flaws in PHP itself, not in the hosted application or its configuration, and that cyber actors are likely to weaponize them. Researchers have warned that exploitation could expose passwords, authentication tokens, API keys, and certificates held in server memory. And because so many sites share the same underlying software, attackers can scan the internet for vulnerable systems rather than target victims one by one.
Researchers reported the first flaw to PHP on August 11 after finding it with an AI company’s frontier model, and a cybersecurity firm independently reported a second flaw on August 24, also using AI models. Researchers then worked quietly across borders and disciplines to develop patches.
On October 20, the PHP security team announced on its website that a critical security release would follow on October 21, reserving the right to release earlier if details became public. CERT-EU states that public reports soon indicated the flaws could lead to remote code execution, and that PHP released the fixes on October 21. News of the flaw reportedly came out before the fix could be delivered to users.
This has been described as an AI-triggered cybersecurity crisis. AI tools helped find one of the most severe online bugs ever, and professionals are racing to patch it before hackers use AI to exploit it. The flaws had reportedly been present for years, but proving they were exploitable required a chain of steps "at the edge of what human researchers could practically achieve."2 This incident illustrates how AI can be used both offensively and defensively in cybersecurity.
Government websites across Europe went dark on October 21, 2026. Australian government websites, including that of the Australian Signals Directorate, experienced outages, and agencies in the Netherlands, Finland, Denmark, and France took services offline. In Japan, ministries, local governments, and banks restricted web services. In the UK, government services, local councils, and large public content websites were reportedly taken down as a preventative measure. The government of Canada announced that some of its websites may be temporarily unavailable while security updates are applied. Public reporting does not indicate U.S. government websites experienced outages, whether precautionary or otherwise.
Reports of successful exploitation continue to evolve. Several early proof-of-exploit claims were revised after closer review revealed mostly scanning and failed attempts. More recently, at least one security researcher reported successful attacks on honeypots, or test systems designed to attract attackers. On October 26, CISA added both Common Vulnerabilities and Exposures (CVEs) to its KEV catalog and set an October 29 remediation deadline for federal civilian agencies. This marked a change from the prior week, when CISA warned of PHP2Shell’s risks but reported no observed successful exploitation in the wild. Current reporting also suggests that open-source AI tools struggle to exploit vulnerabilities of this complexity.
A major cloud services provider identified an exploitation attempt on October 17—four days before public disclosure—and warned that exploitation could precede public disclosure. Patching closes the door, but it does not evict an intruder who may already be inside.
Detailed technical remediation should follow the official advisories. At a high level, we recommend that clients:
Because compromise may predate disclosure, organizations that observe suspicious activity on PHP-based systems should treat it as a potential incident: Preserve logs and evidence, isolate affected systems, and evaluate whether sensitive systems or data may have been accessed, which can trigger time-sensitive regulatory, contractual, and insurance notice obligations. If you are concerned about your organization's exposure, please contact your Ashurst Perkins Coie relationship lawyer.
This alert is for informational purposes only and does not constitute legal advice.
Endnotes
The information provided is not intended to be a comprehensive review of all developments in the law and practice, or to cover all aspects of those referred to.
Readers should take legal advice before applying it to specific issues or transactions.