← All news·2026-10-22·3 min read

GPT and Gemini Find Critical Vulnerability in PHP

GPT-5.6 Sol and Gemini 4 Argon found a vulnerability called PHP2Shell. It had been hiding in PHP's code for 22 years and affects more than 33 million sites.

aisecurity

OpenAI's GPT-5.6 Sol and Google's Gemini 4 Argon, two AI models, independently found a critical vulnerability in PHP, the programming language that runs a large share of the web. The vulnerability, named PHP2Shell, had been sitting in PHP's code for about 22 years, since PHP 5 came out in 2004. According to TechCrunch, a tech news outlet, PHP runs roughly 70% of websites, and the vulnerability affects more than 33 million sites, including systems built on WordPress, a popular website platform. It took two months to prepare a fix, and on October 21 the PHP Foundation, the nonprofit that maintains PHP, shipped an update. PHP 8.5.12 is now considered the secure version; older branches no longer get security support.

The more telling part here is not the number of sites, it is that the same tool now works for both sides. A model that can write an exploit, code that takes advantage of a vulnerability, for different PHP versions is just as useful to a security team as it is to someone looking for a way in. OpenAI says finds of this scale will only get more frequent in the coming months. That means updating dependencies quickly, the outside code a project relies on, stops being a formality and becomes a condition for a PHP project staying safe to run. The most practical takeaway is a tool on GitHub, the code-hosting platform, from Wiz, a cybersecurity firm. It checks a site's PHP version in about a minute, after which it is up to the owner to decide whether to update to 8.5.12.

Source: openai.com

Free course

Stop reading about AI — start building with it

The free Claude Code course: your first site, tool or game — no coding. No upsells, no cross-sells — nothing to buy here.

Start free →
EAEvgenii Arsentev

Author

Evgenii Arsentev

PhD · Founder & CEO, Dad4Kids