Large language models from OpenAI and Google have independently identified a critical vulnerability in PHP that potentially affects millions of websites worldwide, marking a significant instance of AI-assisted cybersecurity discovery.

What Happened

OpenAI reported that its GPT-5.6 Sol model discovered the flaw as part of the Patch-the-Planet initiative. The company characterized the discovery as one of the "most impactful security issues in recent memory," noting that the model identified the vulnerabilities before malicious actors could exploit them. This early detection provided developers and security vendors with a window to respond. A tool hosted on GitHub is now available for server operators to check if their PHP version is affected.

Security firm Wiz independently identified the same flaws using its Wiz Atlas platform in conjunction with Google’s Gemini 4 Argon and OpenAI’s GPT-5.6 Sol. According to Wiz, Gemini 4 Argon proved particularly effective in developing exploits, building attack detection mechanisms, and validating the final patch.

Why It Matters

The discovery highlights a shift in how cybersecurity threats are managed and mitigated. Wiz explains that adapting an exploit from one specific PHP installation to other versions and configurations previously required significant manual effort. Large language models remove this barrier by automatically adjusting exploits across different PHP versions, configurations, and memory layouts. "This significantly lowers the barrier to scaling attacks across different deployments," the firm writes, adding that "vulnerabilities that once seemed impractical to exploit become viable targets."

The remediation process was coordinated over two months across five phases, involving PHP developers, Wiz, Cloudflare, and US agencies including CISA and the White House. OpenAI is proposing this collaborative workflow as a repeatable framework for future AI-driven security discoveries. While OpenAI expects findings on the scale of this "PHP2Shell" flaw to "increase sharply in the coming months," the company warns that the same AI capabilities aiding defenders also enhance attackers' abilities. This dual-use potential continues to fuel the industry debate over the offensive and defensive implications of advanced AI models.

The Bottom Line

AI models are increasingly serving as proactive security agents, capable of finding and helping patch critical infrastructure vulnerabilities before they are widely exploited. However, this capability also accelerates the pace at which attackers can scale exploits, necessitating rapid, coordinated responses between AI labs, security firms, and government agencies.