PHP2Shell's biggest outage so far was the one defenders caused themselves
PHP2Shell triggered precautionary government shutdowns beginning October 21st, before authorities confirmed successful exploitation. The immediate disruption came from defensive decisions, not demonstrated attacker control of those services. Confirmed break-ins followed, through firewalls whose management pages were open to the internet.
For enterprise leaders, the operational exposure includes both compromise and containment. AI-assisted discovery raises the business cost of weaknesses that maintainers and service owners cannot resolve quickly.
AI Made a Long-Known PHP Bug Exploitable, and Word Leaked Before the Patch
A dormant runtime flaw became an urgent deployment problem before the planned disclosure.
Quarkslab’s 2024 audit identified the initial memory problems in PHP. Fixes stalled because no practical attack path was known. The PHP Foundation’s October 21st post called the delay a structural failure of decision-making and resources.
Calif researchers subsequently used an AI model to exploit two dormant vulnerabilities the foundation had considered impractical to exploit. Both affect PHP’s runtime, which executes application code, rather than an individual website’s logic.
PHP’s October 21st advisory assigned both a Common Vulnerability Scoring System rating of 9.2 out of 10. Fixes covered four supported branches.
Both flaws let an attacker run code on a PHP server without logging in, and the attack can fire before the website’s own code runs.
A post on Hacker News, the Y Combinator discussion forum, disclosed the impending release on the morning of October 20th. watchTowr confirmed the leak. PHP advanced publication to 14:00 UTC (10:00AM EDT/7:00AM PDT) on October 21st, one day before the original embargo.
Amazon’s October 21st analysis identified a suspected exploitation attempt in its MadPot honeypots on October 17th, four days before disclosure. Amazon could not determine whether attempts would have succeeded against real systems.
PHP disclosed a third, narrower flaw, CVE-2026-115560, on October 23rd. It will be fixed in the next regular release, and PHP advises setting session.upload_progress.enabled=0 until then.
The PHP project also accused Chainguard of publishing patched container images before coordinated disclosure. Chainguard CEO Dan Lorenc defended the release, saying disclosure of such flaws is rarely flawless and calling it the industry’s new normal.
Huntress reported no exploitation across its partner systems as of October 21st. That limited visibility could not establish universal protection.
The Operator’s Lens
-
Assign a named owner to every PHP deployment in your runtime inventory, including container images and vendor appliances.
-
Measure how quickly your patch rehearsal can rebuild and replace application images after an upstream runtime release.
Slow update deployment forces service owners to make availability decisions before exploitation evidence settles.
Governments Took Their Own Sites Offline Before Any Confirmed Break-In
Precautionary shutdowns created immediate losses while compromise remained uncertain.
Cloudflare CEO Matthew Prince described thousands of attempts during the ten hours before the announcement. Cloudflare’s October 22nd account recorded tens of thousands within 45 minutes, hundreds of thousands within two hours, and subsequently millions.
Those counts measured attempts, not confirmed compromises. Germany’s Federal Office for Information Security (BSI) reported attacks but no successful exploitation on October 22nd. BSI vice president Thomas Caspers said exploitation appeared more complicated than expected.
The availability impact was already concrete. SoftBank suspended mobile emergency alerts while addressing a PHP vulnerability. Customers lost earthquake and tsunami warnings through that system.
Finland’s Valtori said exploitation had not caused its outages. Director General Hannu Naumanen warned that restoration could take days or weeks. Valtori gradually removed precautionary blocks after testing updated systems, showing that recovery required more than patch installation.
The UK government’s October 22nd statement counted 32 unavailable services and four partially unavailable services, largely because of precautions. Officials declined to publish the affected service list, limiting visibility into the practical disruption.
The UK’s National Cyber Security Centre advised immediate updates or consideration of disconnection when prompt upgrades were impossible. Temporary unavailability was an explicit containment option, not a universal requirement.
Japan’s Ministry of Finance and Meteorological Agency also partially suspended online services. Japan’s National Tax Agency temporarily withdrew its service.
The US Cybersecurity and Infrastructure Security Agency (CISA) confirmed active exploitation on October 26th. It set an October 29th remediation deadline for federal civilian agencies. Successful exploitation had been confirmed in researcher honeypots by October 27th, but CISA had not named a compromised organization. Sophos and Palo Alto Networks withdrew earlier breach claims, including Palo Alto’s report of a European government intrusion.
The shutdowns were not an overreaction. Attackers were rooting firewalls by October 23rd, two days after the patches shipped. The precautions still carried costs that belong in incident accounting, especially when downtime interrupts a safety function like SoftBank’s alerts.
The Operator’s Lens
-
Require service-owner approval and a documented fallback before disconnecting a public warning or essential service.
-
Make functional testing and a named reopening authority part of restoration, with downtime charged to the incident budget.
Attackers soon tested that judgment on systems many inventories miss.
Attackers Used AI Tools to Root 25 Firewalls Through PHP2Shell
The first confirmed break-ins hit appliances that run PHP inside, not public websites.
On October 29th, Israeli security firm Dream reported that attackers it suspects are Chinese had used a custom PHP2Shell exploit to gain root access on 25 servers in the US, Japan, Taiwan and South Korea, including Palo Alto Networks firewalls running PAN-OS. Palo Alto’s Unit 42 said it independently verified the attackers’ tooling and confirmed Dream’s results.
Exploitation began October 23rd, two days after the patches shipped. Dream said the attackers focused on firewalls belonging to a US government-affiliated organization, and the first one crashed soon after it was rooted. The attackers paired PHP2Shell with Fragnesia, a Linux kernel flaw that turns a foothold into root access, and the full chain ran in under 15 minutes. CISA added Fragnesia to its Known Exploited Vulnerabilities catalog on October 28th.
The toolkit showed AI on the attacking side. Dream found Anthropic Claude Code installed, along with an offensive tool called aiscan configured with DeepSeek and Kimi (Moonshot AI) models. Dream also said the attackers tried password spraying, backdoor accounts and SAML key theft against Active Directory, though it could not tell whether those attempts worked.
Palo Alto said about 0.02% of its installed base had internet-facing management interfaces and was affected, and that it contacted each affected customer. Those interfaces are not exposed to the internet by default.
The Operator’s Lens
-
Where possible, remove internet access to firewall and appliance management interfaces, and limit them to trusted internal addresses.
-
Ask each appliance vendor whether its management software runs PHP and which fixed release covers PHP2Shell.
Recurring emergency response puts pressure on enterprise operations and upstream maintenance capacity.
Security Leaders Expect AI-Found Flaws Like PHP2Shell to Become Routine
Faster discovery leaves experienced reviewers and deployment teams carrying the workload.
Cloudflare CEO Matthew Prince said he expects a couple of years in which every week feels like the sky is falling. VulnCheck researcher Patrick Garrity counted four or five significant security developments in the week beginning October 19th, and he expects many more fire drills for anything exposed to the internet.
SentinelOne’s Andrés Guerrero-Saade, vice president of intelligence and security research, said the incident shows how AI is accelerating the ability of vulnerability researchers, while also raising what attackers can do.
VulnCheck research described on October 23rd suggested discoveries had doubled year over year, partly through AI. The research had not yet been published.
RunSafe Security chief technology officer Shane Fry argued that AI accelerates vulnerability identification and working attack development. When disclosure and attack development converge, faster discovery still leaves less room for testing.
Linus Torvalds, who created Linux and still leads its kernel development, said AI finds real bugs in large codebases while adding work for overstretched maintainers. Daniel Stenberg, lead developer of the widely used curl data-transfer tool, cautioned that many AI discoveries involve difficult-to-exploit edge cases.
Node2Shell, a Brotli compression flaw reported by OpenAI researchers, was fixed October 21st. CISA added it to its known exploited vulnerabilities catalog on October 27th.
The people who fix these bugs are stretched too. Elizabeth Barron, executive director of The PHP Foundation, which maintains PHP, said the foundation has one full-time employee, herself, plus 14 mostly part-time contractors. The project is getting close to twice as many proposed changes as a year ago, she said, without twice the contributors to review them.
AI can find bugs faster, but someone experienced still has to review and approve each fix. Inside a company, the same math applies: more findings need more engineering hours to test and deploy the patches.
The Operator’s Lens
-
Reserve engineering hours for emergency runtime testing in your next security budget, rather than funding discovery tools without deployment capacity.
-
Require vendors to identify runtime dependencies and commit to patch notification deadlines when renewing software procurement agreements.
PHP2Shell exposed the operational gap between discovering a dangerous flaw and restoring dependable service. AI can widen that gap when maintenance and deployment remain constrained. The first confirmed break-ins showed attackers using AI tools too. Effective defense must prevent compromise while controlling the disruption caused by urgent containment.
- AWS — Amazon Threat Intelligence identifies PHP2Shell exploitation prior to public disclosure in MadPot
- CISA — Critical Vulnerabilities in PHP Require Immediate Patching
- Huntress — Rapid Response: php2shell, Leaked Critical PHP Vulnerabilities (CVE-2026-109618 & CVE-2026-109619)
- ITdaily — PHP Foundation angered by “clumsy” disclosure of vulnerabilities
- TechCrunch — US government says hackers are now exploiting critical PHP web bugs
- The Register — There's a third PHP2Shell bug, but it won't get an emergency fix
- Honolulu Star-Advertiser — Hacking attempts surge after critical PHP flaws disclosed
- The Irish News — Thirty-two Government services offline amid PHP cybersecurity issue
- The Next Web — Cloudflare PHP2Shell millions of exploit attempts
- The Next Web — PHP2Shell “more complicated than expected to exploit,” BSI says
- The Register — CISA confirms PHP2Shell under attack as researchers clock successful exploits
- The Star — Japan to simulate cyberattacks as PHP flaws roil global internet
- CBS News — What to know about the PHP bug affecting 70% of the world's websites
- SecurityWeek — CISA Warns of Node2Shell Exploitation as Honeypots Log Attack Attempts
- The Register — Torvalds: AI is fine for competent devs, but spare us the drive-by patches
- The Standard — PHP Foundation “under-funded” with one full-time staff member, director says
- TimesLIVE — Experts warn of more outages as AI uncovers software flaws