On October 17, Amazon’s honeypot network recorded an attempt to exploit PHP2Shell, four days before the flaws were public. Amazon says it doesn’t know how the attacker got the details during the embargo.
By Wednesday, October 21, government websites across Europe were going dark. Here is what’s confirmed, what’s still disputed, and what to do now.
What is PHP2Shell?
PHP2Shell is the nickname for two critical flaws in PHP itself, tracked as CVE-2026-109618 and CVE-2026-109619. Both are rated 9.2 on the CVSS v4.0 scale. They allow unauthenticated remote code execution, meaning an attacker can run code on your server without logging in.
PHP runs roughly 70% of websites, and the bug is in the language, not in a plugin. That is why WordPress, Drupal, Joomla, and custom apps were all in the blast radius.
A bug years in the making
The PHP Foundation says the underlying memory-corruption issue was first flagged in 2024, during PHP’s first external security audit. That audit was funded by Germany’s Sovereign Tech Agency and carried out by Quarkslab.
On August 11, 2026, the security firm Calif and OpenAI both reported the same flaw, and Wiz contributed further attack paths. Calif found its bug using OpenAI’s GPT-5.6 Sol model under a program called Patch the Planet. Wiz independently found both vulnerabilities.
The week it unraveled
- Oct 17: Amazon’s MadPot honeypot logs a PHP2Shell attempt from an IP tied to a commercial anonymization network.
- Oct 20: Details leak ahead of the planned Thursday disclosure. PHP publishes an advance notice of an emergency release for the next day.
- Oct 21, early: Amazon spots the earliest proof-of-concept exploits around 02:00 UTC. Cloudflare had deployed firewall rules about nine hours before disclosure and reported early attack activity.
- Oct 21: The PHP Foundation says Chainguard “unilaterally broke the embargo” by publishing images containing the fix ahead of the official release.
- Oct 21, 14:00 UTC: PHP ships 8.5.12, 8.4.27, 8.3.36, and 8.2.35. PHP says there is no complete mitigation other than upgrading.
The internet goes dark
Many organizations didn’t wait for the patch. They switched systems off as a precaution:
- Netherlands: The national cybersecurity center took its own site down, along with the government portal, the Port of Rotterdam, and hospital websites.
- Finland: State IT provider Valtori took government public web services offline.
- France, Germany, Belgium: Local government sites, federal IT services, and a foreign ministry went offline.
- UK: Sites including the Met Police and the Office for Budget Responsibility were taken down.
- Australia and Japan: Australia’s cyber agency site was affected, and Japan’s prime minister urged site owners to apply the fix.
The UK’s NCSC advised that where immediate fixes aren’t possible, organizations should consider taking systems offline.
Hype vs. reality
Reports conflict. Amazon says PHP2Shell is now being broadly exploited, with payloads suggesting multiple actors. But Amazon also says it’s unclear whether its attempts would have worked against real systems, and it described the October 17 probe as largely a one-off. The PHP security team inspected the early proof-of-concept exploits and found no functional ones at the time of release. CISA said it had not observed exploitation as of October 21, while watchTowr reported seeing it in the wild.
Don’t wait for certainty. The risk is real, and the exposed population is large. One Shodan-based analysis counted about 2.24 million internet-facing PHP hosts, with 59% on versions that will get no official fix. These are hosts, not websites, and the figure is an estimate.
Why the window keeps shrinking
Amazon’s lesson is blunt: an embargo protects defenders only until someone else finds the same bug. “Disclosure day” is not “day one” of exploitation.
AI is part of the shift. In the past, most exploitation came only after a public proof of concept appeared. Calif’s CEO warned that someone could feed released patches to an AI model and publish a working exploit script. Patches themselves are now clues, and the time between fix and attack keeps shrinking.
What to do right now
- Find every PHP instance. Check servers, container base images, CMS installs, and vendor tools built on PHP.
- Upgrade to a fixed version: 8.5.12, 8.4.27, 8.3.36, or 8.2.35. Upgrading is the only complete fix.
- Handle old versions separately. PHP 8.1 and earlier got no official release, though some vendors backport fixes. Isolate or retire these systems.
- Hunt for compromise starting October 17, not October 21. Check Amazon’s published indicators of compromise, and capture volatile evidence before restarting a suspect host.
- Update WordPress, Drupal, Joomla, and hosting providers. Wiz demonstrated attacks on fresh installs of all three, so ask your host directly whether they’ve patched.
- Take unpatchable systems offline until they can be fixed.
The biggest risk now is the company that patches, feels safe, and never checks whether someone got in first.

