On October 21, 2026 the PHP project released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Its security advisory says these versions “fix two critical vulnerabilities that can allow unauthenticated remote code execution”: put simply, an attacker could run their own code on a web server without logging in. PHP is a programming language behind many websites; Wiz names WordPress, Drupal, Joomla and MediaWiki as built on it.
Where AI came in. Wiz Research, which reported the flaws to PHP’s security team, says it used Wiz Atlas, Gemini 4 Argon and GPT-5.6 Sol throughout the research. Wiz writes the flaws had been present for more than a decade, and that turning them into working exploits (attack code that uses a flaw to take over a server) took a long chain of steps “at the edge of what human researchers could practically achieve.” In its words, frontier AI models “substantially reduced that barrier.” Wiz also thanks the PHP team, Calif and OpenAI for helping find the flaws, coordinate the fix and check that it works.
What PHP says is at risk. According to the advisory, “all PHP installations serving web requests,” which covers the common ways web servers run PHP. PHP rates the risk highest on one common Apache web server setup. Wiz says the flaws are in PHP itself, so a site can be affected even when its own code is secure.
What PHP recommends. Update to one of the fixed versions. PHP says the groups that package the Linux operating system for servers, and companies that maintain older software, got the fixes in advance, so your PHP supplier may already have an update. The PHP project no longer updates 8.1 and older, though some suppliers copy the fix into older versions. The release notes add: “There are no complete mitigations, updating is the only safe choice.”
Why it matters beyond PHP. Wiz says AI “changes the economics of both discovery and exploitation.” It adds: “These same capabilities also give defenders a chance to uncover and fix flaws that have survived years of scrutiny.”
Our tip: If you run a website, ask your host whether it has moved to a patched PHP version. Here is how to check.
Sources
- PHP.net news archive, 21 Oct 2026 security advisory: primary source; versions, risk, updates.
- Wiz Research, PHP2Shell: the researchers’ account; AI models used.
All accessed 2026-10-22.
— Cases4AI, powered by AIRVX