PHP2Shell: millions of exploit attempts hit within hours

After critical PHP bugs found with help from AI went public, Cloudflare saw millions of exploitation attempts within hours. The PHP Foundation says it has seen no successful exploitation so far, and researchers say human expertise was still key.

Security2 min readBy
PHP2Shell: millions of exploit attempts hit within hours – PickAI illustration

The critical PHP vulnerabilities disclosed this week, collectively nicknamed PHP2Shell, have quickly turned into a live test of how AI changes the security race. Wired reports that criminal hackers started trying to exploit the flaws almost as soon as they were published.

What happened after disclosure

According to analysis from Cloudflare cited by Wired, millions of exploitation attempts arrived within hours of the vulnerabilities going public. Broad access to AI tools makes it easier for attackers to turn a fresh advisory into working attack code fast.

The worst case has not materialized so far. The PHP Foundation says it has not seen any successful exploitation, and many of the exploits circulating publicly appear not to work.

How AI helped find old bugs

Researchers at security company Calif first identified PHP2Shell and built exploits in early August, partly using frontier AI tools through OpenAI's Patch the Planet program, combined with deep human knowledge of PHP. Some of the underlying issues were spotted back in 2024 but were judged too complex to exploit at the time. Researchers at OpenAI and at Wiz, which Google owns, later found the flaws independently with AI tools. A Wiz researcher told Wired the PHP team had known about the vulnerability for years, but it was not fixed because a human attacker could not practically use it.

In other words, AI did not create a new class of bug. It made an old, ignored one exploitable. That pressure is landing on teams that are already stretched: Wired notes Microsoft's security updates this month covered a record 1,453 vulnerabilities.

Not panic, but pressure

Security experts quoted by Wired urge some calm. Jake Williams of Hunter Strategy expects more long-lived bugs to surface but says few targets have PHP's internet-facing reach. Calif's Ryan Austin wrote that no model can find every bug from simple prompts, and researcher Niels Provos said it took a highly skilled team to find this one, even after more than a year of people hunting with AI.

Why it matters for builders

If you run PHP anywhere, patching is the first job, and the window between disclosure and attack is now measured in hours. Beyond that, assume old "not exploitable" findings in your own code may become exploitable as models improve. Use AI on defense too: run code-security scanners such as Claude Security or review agents like Perch on every pull request, and let coding agents such as OpenAI Codex help triage and fix backlogged findings. Keep dependency inventories current so you know within minutes whether an advisory applies to you.

Source: Wired. This article is PickAI’s own summary and analysis based on the original reporting, prepared with AI assistance under our editorial policy.

Enjoyed this story? Get PickAI Weekly

Get the week’s best new AI tools and news — one email a week, free. No spam, unsubscribe anytime.

Related AI news

All news →
OpenAI

OpenAI's Patch the Planet coordinated fixes for critical PHP flaws found by AI

Critical PHP vulnerabilities found with GPT-5.6 Sol and independently by Wiz were patched in a coordinated response with maintainers, Cloudflare and government agencies. OpenAI also proposed a disclosure framework for the AI era and $1 billion in subsidized defender access.

Ars Technica

Amazon: attackers' Cairn agents found and exploited a zero-day in about 11 minutes

Amazon says attackers running the open-source Cairn pentesting framework, given little more than a list of IPs and the goal "obtain shell access", found an unpatched path-traversal bug in an open-source medical imaging AI app and got a root shell. Palo Alto Networks separately tied Cairn to 25 autonomous operations against at least 19 organizations.

OpenAI

OpenAI and Cisco open-source Shirudo, eBPF shields for unpatched Linux systems

Shirudo is an open-source Linux runtime that deploys signed eBPF "shields" to block a vulnerability on a running system until the patch lands. In a test, a Codex-generated shield stopped a Java4Shell exploit against a live Elasticsearch service without a restart.

Get the weekly AI tools drop

New tools and releases for builders, once a week. No spam, unsubscribe anytime.