AI agents helped researchers find a serious flaw in PHP, the code behind millions of websites, in just six days. The 2026 emergency triggered worldwide warnings and mass patching, exposing how AI is transforming both cyber defence and the threats ahead.
1AI Agents Find PHP Vulnerability Researchers Missed for Two Years
AI found a way to hack PHP in six days — a flaw human researchers had suspected for two years but couldn't locate. The programming language powers millions of websites, and in 2024 cyber researchers had a hunch there was a path in, but only in theory.
Two years later, researchers carrying out a security audit used AI agents to find a way through the digital maze. "This audit without AI, this would have been months. And we had something in six days or something, I think," said Ryan Austin, the PHP expert who found the path using AI.
Austin said he had a good hunch of where the flaw was. "I was able to ask the agents and it was able verify what I had already thought of," he said. Hundreds, maybe thousands of websites were taken offline as a precaution, and warnings were issued around the world.
The discovery came as AI-driven vulnerability hunting has surged. Since models like Claude Mythos emerged in spring 2026, highly severe and critical bugs have climbed sharply, according to a graph of vulnerabilities found since ChatGPT launched.
But data from the US cyber agency shows a different story: the number of vulnerabilities actually exploited by criminals in the wild is not rising as fast as overall discovery. Defenders still have to roll out patches, causing more work.
The plan was to secretly fix the PHP flaws and release the patch calmly so millions of sites could update first. That didn't happen. Panic spread with rumors criminals were using AI to hack PHP, and the warning went out: install the patch now or take your website offline. Many did.
But no criminals were running around with an AI-made exploit ready to hack everybody, and it took nearly a week for the PHP vulnerability to make it onto the list of actual criminal attacks. "It turned out to be a little harder to exploit than people kind of expected," Austin said, calling it a serious issue that was overplayed.