Remote, operating from Karachi, Pakistan Mon to Fri, 9am to 6pm

Website security

PHP2Shell: what UK small business owners should do now

Two critical PHP flaws were patched on 21 October 2026, and attacks started before the fixes shipped. Here's what it means for a small business website, and the email to send your web host today.

Muhammad YounusPublished · 5 min read
Developer tools open on a laptop beside a printed checklist, checking a website's server details
Illustrative: checking which PHP version a website runs on

The short version: on 21 October 2026 the PHP project released emergency fixes for two critical flaws nicknamed PHP2Shell. They let an attacker run code on a web server without logging in, and attacks were seen before the patches came out. If your website runs on WordPress or anything else built with PHP, ask your web host today which PHP version you're on.

What happened

The two flaws are tracked as CVE-2026-109618 and CVE-2026-109619, and both score 9.2 out of 10 on the CVSS v4 scale. Both come from the way PHP handles a request that ends abnormally, which can leave memory in a state an attacker can abuse.

They affect PHP installations that serve web pages, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. The PHP project said the risk is highest for mod_php, and researchers showed a working attack on it.

Cloudflare's chief technology officer said the company was already seeing early attacks before the fixes shipped, and the UK's National Cyber Security Centre told organisations to update systems that use PHP or take them offline until they're patched.

The fixed versions are:

  • PHP 8.5.12
  • PHP 8.4.27
  • PHP 8.3.36
  • PHP 8.2.35

PHP 8.1 and older don't get official updates any more. The PHP project published minimal backports for 7.4, 8.0 and 8.1, but those are for people who compile PHP themselves, which almost no small business hosting does.

Is my website affected?

It depends on what your website runs on, not on how big your business is.

Your website Exposed to PHP2Shell? Who has to act
WordPress on shared or managed hosting Yes, until PHP is updated Your web host
WordPress on your own VPS or server Yes, until PHP is updated You or your developer
Other PHP software (Joomla, Drupal, WooCommerce, custom PHP) Yes, until PHP is updated Your host or developer
Wix, Squarespace or Shopify No The platform, nothing for you to do
A static site on Cloudflare, such as Astro No, there's no PHP running Nobody

Most UK small business owners on WordPress don't run their own server, so the patch is in your host's hands. Good hosts will have updated already. The point of asking is to be sure, and to find out if you're stuck on a version that won't get a fix.

What to do this week

  1. Ask your host which PHP version your site runs on. You want 8.2.35, 8.3.36, 8.4.27, 8.5.12 or newer. The email below does the asking for you.
  2. If you're on PHP 8.1 or older, plan an upgrade now. There's no official PHP2Shell fix for those versions. Test on a staging copy first, because old themes and plugins can break.
  3. Update WordPress, your theme and every plugin. PHP2Shell isn't a plugin problem, but a server that's being probed is the worst time to be running an old plugin with a known hole.
  4. Look for signs of a break-in. Check for admin users you don't recognise, new files you didn't upload and any warning in Google Search Console under Security issues. Kaspersky advised checking server logs from 20 October onwards for the web server starting programs it normally wouldn't.
  5. Make sure you have a backup stored away from your hosting. If the worst happens, a clean copy from before 20 October is what gets you back online quickly.

The email to send your web host

Copy this, add your domain and send it to your host's support address:

Hello, my website is example.co.uk. Following the PHP2Shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619) patched on 21 October 2026, could you confirm which PHP version my site runs on, and that it has been updated to 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later? If my site is on PHP 8.1 or older, please tell me what my options are for moving to a supported version. Thank you.

A clear, dated answer is what you're after. If the reply is vague, or the host can't tell you the version, that tells you something about how your site is looked after.

What comes next

PHP2Shell won't be the last warning. PHP 8.2 stops receiving security updates on 31 December 2026, so sites on 8.2 have about two months before they need to move again. And PHP is only part of the picture. Patchstack counted 11,334 new vulnerabilities in the WordPress ecosystem in 2025, 42% more than in 2024, and 91% of them were in plugins. Almost half had no fix available when they were made public.

None of that means WordPress is a bad choice. It means a WordPress site needs someone keeping it updated, every month, for as long as it exists. If you've got that covered, through your host, a developer or a plan like our Website Care, you're in a good position.

If you don't want a server to worry about at all, a static site has nothing for PHP2Shell to attack. We explain how that works, and when it isn't the right fit, on our WordPress alternative page. Our free AI visibility audit also checks your PHP version and plugins.

Questions people ask

Is my Wix, Squarespace or Shopify website affected by PHP2Shell?
No. Those platforms don't run on a PHP server that you or your host look after, so there's nothing for you to patch. Their own teams handle security on their systems.
How do I find out which PHP version my website uses?
Ask your web host, or look in your hosting control panel under PHP settings. In WordPress you can also open Tools, then Site Health, then Info, then Server, which shows the PHP version.
My site is on PHP 8.1. What should I do?
Move to a supported version as soon as you can. PHP 8.1 no longer gets official fixes, so it won't receive a PHP2Shell patch from the PHP project. Test the site on a staging copy first, because old themes and plugins sometimes break on newer PHP.
Does a security plugin protect me from PHP2Shell?
Not on its own. The flaws sit in PHP itself, below WordPress, so the fix is updating PHP on the server. A plugin can help you spot signs of a break-in afterwards, but it can't patch the server.

Sources

Published
Reading time
5 minutes
Topic
Website security
Muhammad Younus, founder of Renozer

Younus has built WordPress websites since 2017 and founded Renozer in 2019. He writes or reviews every guide on this site.

How this guide was made: we researched and drafted it with AI assistance. We checked every claim against its cited source, and Muhammad Younus reviewed it before publication. Our editorial policy.

Call