Skip to content
VECTOR WIREAI INTELLIGENCE
UTC
Home

AI-assisted php2shell exploit chain hits PHP runtime, forces coordinated defense across 70% of web

CVSS 9.2 flaws affect every PHP version from 5.4 onward, covering roughly 70% of websites.

14The Internet Is Currently On Firekotaku.comMedium10·22 16:30Z

Amazon disclosed that attackers began targeting the php2shell vulnerabilities four days before patches shipped, though it said it remains unclear how attackers obtained information about them7,16. Exploit attempts then climbed into the millions within hours of public disclosure on October 21, 2026, with Cloudflare CEO Matthew Prince reporting thousands of attempts in the 10 hours before the announcement, tens of thousands within 45 minutes, hundreds of thousands within two hours, and millions thereafter14,15. Fastly Chief Product Officer Kelly Shortridge called the threat concrete: "This is not a theoretical vulnerability. We observe many billions of PHP requests a day across Fastly's global network, and we are seeing evidence of active attacks"8.

Government agencies and companies worldwide pulled websites offline on October 21 after the flaws, tracked as CVE-2026-109618 and CVE-2026-109619, triggered urgent warnings from the National Security Agency, the FBI, and cybersecurity authorities in the United Kingdom, Australia, Canada, Singapore, and the European Union17,18,19. The vulnerabilities were publicly disclosed the same day by Calif.io, Wiz, OpenAI, and Quarkslab1,20. Germany took several federal websites offline, France temporarily shut down prefecture sites, Belgium's foreign ministry disabled its websites, and organizations in the Netherlands pulled public-facing services3. The Wikimedia Foundation took several supporting services offline until they could be patched4. Automattic confirmed that websites hosted across WordPress.com, WordPress VIP, and Tumblr had been secured.

Scope and severity

The vulnerabilities carry a CVSS v4.0 score of 9.2 and affect every PHP version from 5.4 onward, a lineage stretching back to 200421,2. PHP powers roughly 70% of the world's websites, an estimated 33 million-plus sites, including those built on WordPress, Joomla, Drupal, and Magento. The NSA warned that the flaws could give attackers direct access to server file systems and databases, and said any site that could not be patched immediately should be taken offline. The EU's Computer Emergency Response Team warned the bugs could enable unauthenticated remote code execution22.

The flaws are memory-safety bugs, including use-after-free and type confusion, rooted in how PHP handles errors when a request runs out of memory or crashes6. Wiz Research found that attackers could exploit this behavior to access sensitive data, including passwords, authentication tokens, API keys, and certificates, or run malicious code on WordPress, Drupal, and Joomla without logging in. Datadog Security Labs independently reproduced the vulnerabilities and found that application-level authentication cannot prevent the attack because PHP processes the malicious request before application code runs.

An estimated 40% of PHP users are running unsupported versions. The PHP project released fixes for versions 8.2.35, 8.3.36, 8.4.27, and 8.5.12 on October 215. PHP 8.1 and older no longer receive updates from the PHP project, though some distributions and long-term support vendors such as Zend released backported patches.

How AI cracked a decades-old flaw

The underlying bugs had been present for decades, but Wiz Research stated that demonstrating exploitability required an exceptionally complex chain of steps at the edge of what human researchers could practically achieve. Frontier AI models substantially reduced that barrier, turning a longstanding flaw into a working exploit. Wiz described the findings as ranking among the most severe vulnerabilities discovered in PHP, and arguably in software history.

Security researcher Ryan Austin at Calif.io discovered one of the flaws in August 2026 as part of OpenAI's Patch the Planet initiative, using GPT-5.6 Sol, and reported it to PHP on August 1123. OpenAI independently reported the same underlying issue that day; Wiz reported its findings on August 24. Wiz independently found both bugs using Gemini 4 Argon, GPT-5.6 Sol, and Wiz Atlas. OpenAI president Greg Brockman said on October 22 that Calif.io's discovery was guided by a researcher's expertise, while approximately a month later OpenAI's latest internal model "fully autonomously found this more complete version"11. OpenAI had earlier introduced Daybreak for Frontline Defenders, a $1 billion subsidy for access to its cyber models and products, which came into use in this effort.

Cloudflare's pre-disclosure defense

Cloudflare said it had been developing WAF protections since early October 2026 as part of a coordinated effort with the PHP foundation, OpenAI, and Wiz. Starting at 3:02 a.m. UTC on October 21, all Cloudflare customers on free or paid WAF plans were protected by default, roughly nine hours before public disclosure. Cloudflare's CTO Dane Knecht said the company was seeing early attacks emerge and was updating mitigations as new vectors appeared. The vulnerability details leaked before the PHP security team's planned release, and Cloudflare observed attackers mutating payloads to try to bypass its rules. The company noted that standard request-based WAF rules were insufficient; request data alone did not always distinguish an exploit from legitimate traffic. Knecht urged customers to patch as soon as possible, noting that the WAF rules are only a temporary layer of protection.

Node.js and Python also reported critical vulnerabilities the same day php2shell landed. OpenAI said it expects similar findings to increase sharply in the coming months.

Was this useful?

The day’s vector, in your inbox.

Vector Wire Daily: one dispatch each publishing day.