About

AI-Found PHP2Shell Flaws in Language Behind 70% of Websites Trigger Emergency Patches

Published
Score
19

Why it matters

Two critical PHP vulnerabilities, dubbed PHP2Shell, were found with help from AI tools. Wiz has assigned them CVE-2026-109618 and CVE-2026-109619, each scored 9.2 out of 10. The flaws let attackers run code remotely on servers and access sensitive data such as passwords. The PHP Foundation, which maintains the language, released patches on October 21, 2026, for PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. Governments and companies took sites offline while they updated, and exploitation began quickly. Amazon reported attempts before public disclosure, and Cloudflare recorded tens of thousands of attempts within 45 minutes of the news spreading. Calif, an AI security firm, and Wiz, which is owned by Google, found the bugs as part of OpenAI's Patch the Planet initiative in late July and August 2026. Wiz says every PHP version from the last decade is affected.

As of publication, CISA had not yet observed exploitation of the flaws, even as it urged immediate patching. The bugs are older than the current fix: researchers flagged a related problem in 2024 that went unaddressed, and a partial fix in 2020 followed a separate report. Whether the attacks have spread beyond the early activity Amazon and Cloudflare recorded is not yet clear. The number of affected servers still unpatched is also unknown.

For attorneys, the window is narrow. The patch and disclosure landed the same week exploitation began, so clients running PHP need to confirm they are on a fixed version now. The FBI advises taking systems offline if an immediate update is not possible, and the UK's NCSC has issued similar guidance. Watch for a CISA exploitation advisory, which would shift breach-notification and duty-of-care analysis. Experts warn that other AI-discovered flaws likely remain unfound, so clients should expect pressure to audit legacy code, not just patch this one issue.

Sources

mail Subscribe to Law And Technology email updates

Primary sources. No fluff. Straight to your inbox.

Also on LawSnap