AI finds flaws in the code behind much of the web

PHP (PHP2Shell)

AI models helped researchers uncover two critical flaws in PHP, the language behind WordPress, Drupal, Joomla and, by Wiz’s estimate, about 70% of the internet. The bugs let an attacker run their own code on a server without logging in. The vulnerable code had been there for years. AI made it practical to turn into a working exploit. NPR reported that news of the flaw leaked and hackers began exploiting it before patching was complete.

The flaws, CVE-2026-109618 and CVE-2026-109619, allow remote code execution on unpatched PHP servers, Fortune reported, and the foundation urged site owners to patch at once or take their sites offline. Wiz said the vulnerable code had been in PHP for more than a decade. A limited form of the bug was spotted in 2024 but wasn’t considered serious at the time.

Several groups found the problem independently in August, each using AI. California red-teaming firm Calif found the first issue on August 1 with OpenAI’s GPT-5.6 Sol, and OpenAI then found further parts of the bug and led a coalition to coordinate the fix. Wiz found the flaws on August 19 using Google’s Gemini 4 Argon, GPT-5.6 Sol and its own Wiz Atlas. OpenAI called it “one of the most impactful security issues in recent memory,” and Wiz said “It marks an AI inflection point.”

Reports surfaced late on October 20, before the official release. Cloudflare counted tens of thousands of exploit attempts within 45 minutes, and AWS said the flaw was “now being broadly exploited in the wild.” Palo Alto Networks counted 22.6 million possibly vulnerable instances, and Reuters reported that agencies in the Netherlands and Finland took websites offline as a precaution.

Summary of published news reports, linked above. PHP (PHP2Shell) has no connection to Loop Data.