PHP is the programming language behind roughly 70% of websites, including WordPress. On October 21, the PHP Foundation released patches for two critical flaws, CVE-2026-109618 and CVE-2026-109619, nicknamed PHP2Shell. Security firm Wiz says nearly every PHP version from the last decade is affected, and that the flaws allow remote code execution, meaning an attacker on the internet can run commands on a web server without logging in. Wiz demonstrated attacks on WordPress, Drupal and Joomla sites.
AI did the digging. A testing firm called Calif, working in an OpenAI program, found one flaw with an OpenAI model, and Wiz's team used AI agents and models from Google and OpenAI to find more. The NSA urged organizations to update immediately or take sites offline until they could, and some governments and large companies did exactly that.
The grace period was short. On October 26, CISA, the US Cybersecurity and Infrastructure Security Agency, added both flaws to its catalog of vulnerabilities known to be exploited, and federal agencies were told to patch within three days.
WordPress says the flaw is not specific to WordPress and must be fixed on the server itself, so most site owners need their hosting company to apply the update.