One request, no password, your whole server
PHP2Shell is the worst web flaw in years. Here’s the ten-minute check.
The story
I don’t usually write about security. It’s dull right up until it isn’t. This week it isn’t.
On 21 October the PHP project released urgent fixes for two flaws now being called PHP2Shell. PHP is the language that runs WordPress and a large part of the web. With these flaws, one request from someone who isn’t logged in can run their own code on your server, before WordPress or any other application code even starts. Amazon spotted an attempt to exploit it on one of its decoy servers on 17 October, four days before the flaws were made public. The UK’s National Cyber Security Centre says to take offline any system that can’t be patched straight away. Cloudflare has added protective rules for all its customers, and WordPress.org published its own “Critical PHP Security Release” post.
[ Observation ]
This one is different
Most security news is “update this plugin when you get a minute”. This is “a stranger can take over the server”. There’s no login to guess and nothing for the site owner to click. If the server is running an unpatched version of PHP, the door is open.
[ Argument ]
A website is a building, not a brochure
We talk about websites as if they’re printed things: designed, signed off, done. They’re not. They’re buildings, with plumbing and locks, sitting on a street where people try the doors every night. Every one needs someone who holds the keys and checks the locks.
The site most at risk this week is the one built cheaply in 2021, on a £3-a-month host, that nobody has logged into since. Who’s patching its PHP?
A website nobody maintains isn’t finished. It’s abandoned.
[ Objection ]
“My host handles that”
Many do, and good hosts will have patched within hours. Some shared hosts keep old PHP versions running for compatibility, and some sites sit on servers nobody’s looked at in years. “I assume so” isn’t an answer. Ask, in writing, and keep the reply.
[ For people who build sites ]
Check everything you’ve ever handed over
Make a list of every site you’ve built in the last ten years and where it’s hosted. You will be the first person those clients call, whether or not you still look after the site. Better to call them first.
[ Verdict ]
Patch this week, then put maintenance on paper
Get the patch done. Then make sure someone, by name, is responsible for your site’s security from now on, and that you know who it is.
Field notes
Josh Comeau. A developer’s site full of small, joyful details: sounds, springy animations, interactive demos inside every article. His Interop 2027 picks, published on 20 October, include CSS functions, squircle corners and gap decorations, and he’s urging developers to vote on which features browsers fix next. Steal the care: delight lives in the details nobody asked for.
Deep cut
The square brackets problem. On 20 October Google’s John Mueller confirmed that ?filter[]=123 and ?filter%5B%5D=123 count as two different web addresses, and that square brackets in query strings are technically invalid anyway. If your shop’s filters use brackets, and lots of WooCommerce and Shopify setups do, pick one form and use it everywhere: in links, canonical tags and sitemaps. Otherwise Google may see the same page twice.
Do this
Check your PHP version in ten minutes.
- In WordPress, go to Tools, then Site Health, then Info, and open Server. Note the PHP version.
- The patched versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35, or anything later in the same series.
- On something older than 8.2? Ask your host whether they’ve applied the source patches, and when you’ll be upgraded.
- Email your host: “Have you applied the PHP2Shell patches (CVE-2026-109618 and CVE-2026-109619)?” Keep the reply.
- Behind Cloudflare? Its new rules help. Treat them as a seatbelt, not the fix.
From the studio
If you’re not on Care and you’re not sure about yours, email [email protected] and we’ll check it for you this week, at no charge.
Questions
What is PHP2Shell?
The name given to two critical PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619, patched on 21 October 2026. They let an unauthenticated attacker run code on a server with a single request.
Which PHP versions fix PHP2Shell?
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, plus source patches for PHP 7.4 to 8.1.
How do I check my WordPress site’s PHP version?
In WordPress, go to Tools, then Site Health, then Info, and open the Server section.