PHP2Shell: no panic, but every minute counts
By Willem Mouwen,
On 21 October 2026, PHP shipped fixes for two critical flaws that allow remote code execution without logging in: CVE-2026-109618 and CVE-2026-109619, together known as PHP2Shell. They are fixed in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. The CVE numbers leaked a day earlier, so the PHP project brought its announcement forward and moved the release up by a day (PHP Foundation). PHP runs on roughly 70 percent of all websites. In the Netherlands many governmental, medical and e-commerce related websites went offline as a precaution until the patch was out.
This post is for technical leaders: What does a week like this ask of you?
No panic, but realism
Vulnerabilities come out more and more often. The first job is not to react to the headline, but to assess whether you are actually affected or already safe: which systems make use of the affected tool, which versions does it run, and what is reachable from outside.
What stood out this time was the pre-announcement itself. Most security fixes ship quietly, and the blog post explaining what was fixed follows months later. A project that announces a patch in advance is telling you how serious it is. The right response is simple: plan to patch the moment the release lands, whatever else is on the calendar.
Going dark is a business decision
When more and more Dutch sites went offline, every organization running PHP had to ask whether to follow. That is not a decision technology should take alone. Taking a shop offline costs revenue, disappoints customers and touches partners, so the risk is weighed together with the non-technical stakeholders. Technology brings a weighty advice, and should, but the trade-off between a few hours of lost sales and the chance of a breach belongs to the whole leadership.
The unpatchable tail
PHP 8.1 and older no longer receive official releases. The PHP security team did publish minimal source backports for 7.4, 8.0 and 8.1, and some distributions and LTS vendors ship their own fixes (php.net), but not every legacy system can take those in a day either.
For those systems, accepting the risk is not an option: remote code execution is as bad as it gets. Replacing them is usually too drastic, certainly within a day. That leaves isolation: take the system off the internet, or put it behind something that only lets known, necessary traffic through. Be honest about what isolation buys you, though. It keeps the outside world away, but the system stays vulnerable to anyone who is already inside your network and moving sideways. Isolation is a stopgap, not a fix.
Unlike going dark, this call belongs to technology. It is a technical containment decision, and the people who own the systems should make it, quickly.
48 hours is doable; in e-commerce, every minute counts
Rolling out a patch within 48 hours is achievable for most teams. But in e-commerce every minute a shop is offline costs money and trust. PHP2Shell was a stress test of the whole chain: knowing where PHP runs, building and testing new images, deploying outside the normal release rhythm and rolling back if something breaks. Wherever that chain was slow, it now has a name. Use it: find the bottleneck and remove it before the next one.
The other half is boring and essential: keep every software package on a supported version. According to W3Techs figures cited by Tweakers.net, at least 37.7 percent of PHP sites run a version that no longer gets official updates. That backlog is what turns a two-day patch into a two-week migration. Treat this week as a wake-up call to walk through your whole environment, not only PHP.
Faster cats, faster mice
Security has always been a game of cat and mouse. What has changed is the speed. Among the parties that reported these flaws was OpenAI, and the PHP Foundation describes a rising volume of AI-assisted vulnerability reports. Defenders find more, faster.
Attackers do too. Finding and exploiting a flaw used to be skilled manual work; now you can let AI do much of it. That does not only make attackers faster, it makes many more people capable of attacking. The window between disclosure and exploitation keeps shrinking, and the number of people trying keeps growing.
The lasting point
AI is shaking up our field, on both sides of the wall. For technical leaders that means two things at once: make sure your own processes, including how you build software with AI, are safe and responsible, and make sure the outer wall of your environment can be patched, isolated or taken down within hours, by people who know exactly which decision is theirs to make.