PHP flaw exposed by AI leads to millions of exploit attempts

Security researchers using advanced AI models uncover critical vulnerability affecting 70% of the web

By LineZotpaper
Published
Read Time2 min
A critical security flaw in PHP, a programming language powering an estimated 70% of the web, was discovered this August by research teams employing AI models, including OpenAI's GPT-5.6 Sol. The flaw, dubbed "php2shell," was patched this week after a coordinated disclosure, but not before hackers launched millions of exploitation attempts beginning October 17, according to Amazon Web Services.

The vulnerability was found by multiple research groups using AI to hunt for security flaws. OpenAI's GPT-5.6 Sol and Google's Gemini 4 Argon both played a role in the discovery. The teams treated it as an emergency, and the PHP foundation announced a critical patch on October 20, with a coalition of companies including OpenAI, Wiz, and Calif disclosing the fix the next day.

However, news of the exploit leaked before the scheduled public disclosure. Hackers began attacking systems on October 17, and after the patch was announced, "millions" of attempts to exploit the bugs followed. Many governments and private entities temporarily took web services offline to protect them while waiting for the patch to be applied. WordPress, the most affected service, reported no issues.

The incident highlights a growing trend: AI-powered cyberattacks and defenses. OpenAI has been expanding its Daybreak program, which provides vetted organizations with advanced AI tools to find and patch vulnerabilities. The program's numbers have grown from 858 flaws found to 1,885, and patches produced from 263 to 661. OpenAI president Greg Brockman posted about the PHP exploit, and the company plans to debut a new cybersecurity-focused model and deployment tool this fall. Anthropic runs a similar program called Project Glasswing.

Security professionals warn that as AI models become more powerful at processing code and acting autonomously, both attackers and defenders will increasingly rely on AI. The PHP incident may be an early sign of what experts call a new era for internet safety.

§

Analysis

Why This Matters

  • The vulnerability affects the majority of websites, meaning millions of users could be exposed to data theft, defacement, or malware injection.
  • The incident demonstrates that AI-powered hackers can now move faster than human security teams, forcing organizations to adopt AI defense tools or risk being breached.
  • The coordinated disclosure and patch process sets a precedent for how AI companies and the cybersecurity industry may handle future zero-day discoveries.

Background

PHP is a server-side scripting language that powers a large portion of the web, including content management systems like WordPress. For years, security experts have warned that increasingly capable AI tools would enable both the discovery of new vulnerabilities and faster exploitation. The php2shell flaw is one of the first high-profile cases where AI models were instrumental in both finding and attacking a critical bug.

Key Perspectives

Security researchers and the PHP community: They successfully found and patched a dangerous bug using AI, but the early leak showed that keeping exploits secret is harder than ever. The quick collaboration between companies was essential to limit damage. OpenAI and AI defense vendors: This incident validates their investment in proactive cybersecurity. The Daybreak program's rapid growth and planned new products suggest that selling AI-powered defense is becoming a significant revenue opportunity. Hackers and malicious actors: They are already using AI to scan for and exploit vulnerabilities at scale, as seen in the millions of attempts. The window for patching is shrinking, putting pressure on all web administrators.

What to Watch

  • The percentage of PHP sites that apply the patch in the coming weeks, and whether any major data breaches emerge from the early exploitation window.
  • Adoption of OpenAI's new cybersecurity model and tool, which could signal how quickly enterprises move to AI-first defense.
  • The pace of similar AI-discovered vulnerabilities: if this becomes a regular occurrence, the cybersecurity landscape will transform rapidly.

Sources

Checked

11 claims in this story checked against 1 source: 0 supported.

Show each claim
  1. Partly supportedThe AI-exposed PHP flaw led to millions of exploit attempts.Fortune | FORTUNE: “After the public disclosure of the exploit, the floodgates opened, and as of this writing there have been “millions” of attempts to exploit the bugs”
  2. Partly supportedAdvanced AI models uncovered a critical PHP vulnerability affecting 70% of the web.Fortune | FORTUNE: “all of them using AI models to help them hunt for security flaws, found two vulnerabilities in PHP, which an estimated 70% of the web runs on.”
  3. Partly supportedMillions of exploit attempts began on October 17, according to AWS.Fortune | FORTUNE: “According to Amazon Web Services, hackers started exploiting php2shell on Oct. 17, prior to the public disclosure. [...] after the public disclosure of the exploit, the floodgates opened, and as of this writing there have been “millions” of attempts to exploit the bugs”
  4. Partly supportedMillions of attempts followed the patch announcement.Fortune | FORTUNE: “After the public disclosure of the exploit, the floodgates opened, and as of this writing there have been “millions” of attempts to exploit the bugs”
  5. Partly supportedGPT-5.6 Sol and Gemini 4 Argon both played a role in discovering the flaw.Fortune | FORTUNE: “OpenAI’s GPT-5.6 Sol model seems to have played a key role in this discovery, although other models, including Google’s Gemini 4 Argon, seem also to have played a part.”
  6. Partly supportedThe PHP Foundation announced a critical patch on October 20.Fortune | FORTUNE: “on Oct. 20 the PHP foundation announced it would be issuing a critical patch within the next 24 hours.”
  7. Partly supportedNews of the vulnerabilities and how to exploit them leaked before public disclosure.Fortune | FORTUNE: “news of the vulnerabilities and how to exploit them seems to have leaked in the days leading up to PHP’s announcement.”
  8. Partly supportedMany governments and private entities took web services offline while waiting for the patch.Fortune | FORTUNE: “many governments and some private entities decided to take some web services offline to protect them from potential attacks while waiting for the patch to be implemented.”
  9. Partly supportedDaybreak provides vetted organizations with advanced AI tools.Fortune | FORTUNE: “Daybreak program, which is an application-only initiative that grants organizations access to its most sophisticated tools to help defend against sophisticated, AI-powered attacks.”
  10. Partly supportedSecurity professionals warn that attackers and defenders will increasingly rely on AI as models grow more capable.Fortune | FORTUNE: “Security professionals have long been warning that increasingly powerful AI tools would empower bad actors to exploit bugs in code. [...] The only answer is to fight back with AI”
  11. Not in the sourcesExperts call the PHP incident an early sign of a new era for internet safety.

Zotpaper

Written by June Katz on the Tech & AI desk. Claims checked by Ines Fairley, verification. Edited by Angus Burke, chief sub. Plate by Ollie Flash, picture desk.

1 source0 of 11 claims matched to a sourcefirst published updated once
Meet the newsroomHow we workSubscribe