Middlemarch IT Book a free IT health check

PHP2Shell: is your business website at risk?

If your business website runs on WordPress, WooCommerce, Drupal, Joomla or Magento, there's a serious security problem you need to check this week. It's called PHP2Shell, and updating your website or its plugins won't fix it. The fix has to happen on the server your website runs on.

Here's what happened, whether you're affected, and exactly what to ask your web host or IT provider.

What is PHP2Shell?

PHP2Shell is the name given to two critical flaws found in PHP itself, tracked as CVE-2026-109618 and CVE-2026-109619 and each rated 9.2 out of 10. PHP is the programming language that powers most small business websites, including every WordPress site.

In plain English, an attacker could take control of a web server without needing a username or password, just by sending a specially crafted request to the website. Because the flaw is in PHP rather than in your website, even a well-maintained, fully updated WordPress site can be exposed.

The flaws were found by security researchers and reported privately to the PHP team. Details leaked on 20 October 2026, two days before the planned announcement, and fixed versions of PHP were released on 21 October 2026. Attack attempts were seen from 17 October, before the fix was public. At the time of writing, attempts are confirmed but no successful break-ins have been publicly confirmed. That window won't stay open for long.

Is my website affected?

Probably, if:

  • Your website is built on WordPress, WooCommerce, Drupal, Joomla, Magento or another PHP-based system
  • It's on shared hosting, a VPS or your own server
  • Your hosting company hasn't confirmed it has updated PHP since 21 October

Every current PHP branch is affected, and so are older unsupported ones going back to PHP 5. Websites built on platforms that don't use PHP, such as Webflow, Wix or Squarespace, are not affected.

Other business tools can run on PHP too, such as webmail (Roundcube), file sharing (Nextcloud), database tools (phpMyAdmin) and some booking or intranet systems. If you have any of these, they need checking as well.

Why does it matter for a small business?

If an attacker gets into your web server, they may be able to:

  • Steal passwords, keys and customer data stored on the server
  • Add malware or fake payment pages to your website
  • Send spam or phishing emails that look like they come from you
  • Get your site blacklisted by Google, which hurts both trust and search rankings

For anyone handling customer details, that's also a potential data breach under UK GDPR.

How to fix it

1. Update PHP to a fixed version. The safe versions are PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35 or newer. Updating WordPress or your plugins does not fix this. It has to be done on the server.

2. If you're on PHP 8.1 or older, plan an upgrade now. Those branches are past end of life, so there is no ordinary release to update to. The PHP team has published minimal source backports for 7.4, 8.0 and 8.1, and most Linux distributions and hosting control panels ship their own patched builds, so ask your host which one they have applied. The version number alone won't tell you. PHP 7.3 and below have nothing official at all. Note that PHP 8.2 also stops getting security updates on 31 December 2026, so moving to 8.3 or 8.4 is the better long-term choice.

3. Restart the web server after updating, so the fixed version is actually running.

4. Change passwords and keys on any server that was exposed. If your site was running an unpatched version after 17 October, assume stored passwords and API keys could have been seen. Change your hosting, database, email and admin passwords, and turn on two-step sign-in where you can.

5. Ask your host to check the logs back to 17 October for signs of attack attempts.

What to ask your web host

Send your hosting company or website developer this short email:

"Please can you confirm which PHP version our website is running, whether it has been patched for PHP2Shell (CVE-2026-109618 and CVE-2026-109619), the date it was patched, and whether your logs show any attack attempts against our site since 17 October."

If they can't give a clear answer, that tells you something too.

Need a hand?

If you're not sure what your website runs on, who hosts it, or whether it's been patched, I can check it for you. It usually takes less than 30 minutes, and if everything's fine I'll tell you.

Book a free 30-minute IT check-up, or call me on 07874 710117.

Jay, Middlemarch IT. IT support for small businesses across Nuneaton, Coventry, Warwickshire and Leicestershire.

Sources