← All posts

PHP2Shell: is your small business website affected?

PHP2ShellWebsite securitySmall business websites

If your website runs on WordPress or ordinary shared hosting, PHP2Shell probably affects it, and the fix is a PHP update from whoever hosts your site. If you're on Wix, Squarespace or Shopify, there's nothing for you to update. Either way, you can find out where you stand in about 10 minutes without touching any code.

What is PHP2Shell?

On 21 October 2026 the PHP project published two critical flaws, CVE-2026-109618 and CVE-2026-109619. Both are rated 9.2 out of 10. They let anyone on the internet run their own code on your web server without logging in.

The fix is already out. Your job is to make sure your site is running it.

PHP2Shell isn't the same as wp2shell, the WordPress flaw fixed in WordPress 7.0.2 in July. That one needed a WordPress update. This one sits underneath WordPress, in PHP itself. Updating WordPress or your plugins won't fix it.

Is PHP2Shell being exploited?

Reports differ, so here's who said what:

  • Amazon says it saw an attempt on 17 October, four days before the flaws were made public (Tenable).
  • CISA, the US cyber security agency, said it hadn't seen any exploitation when it published its alert.
  • Security firms watchTowr and Cloudflare both report attack attempts.

I'd treat it as live.

Does PHP2Shell affect my website?

PHP says every installation serving web requests is at risk. That includes the common setups: PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. Between them, they cover most WordPress and shared hosting.

Quick answers by site type:

  • WordPress on your own hosting: yes, very likely. WordPress runs on PHP.
  • cPanel or other shared hosting: yes, very likely.
  • Wix, Squarespace, Shopify or WordPress.com: the platform runs the servers, so there's nothing for you to update.
  • A site someone built for you years ago: possibly. You won't know until you find out what it runs on and who hosts it.

Unless you're on a hosted builder, do the check below.

The 10-minute check

Step 1: find your PHP version (2 minutes)

On WordPress, log in and go to Tools > Site Health > Info, then open the Server section. The PHP version is listed there.

On cPanel, look for MultiPHP Manager or Select PHP Version.

The fixed versions are:

  • PHP 8.5.12 or newer
  • PHP 8.4.27 or newer
  • PHP 8.3.36 or newer
  • PHP 8.2.35 or newer

Step 2: email your host (5 minutes)

Send your hosting company this, word for word:

Which PHP version is my site on, and has it been patched for CVE-2026-109618 and CVE-2026-109619?

Why asking beats checking the number

Many hosts install PHP from Linux distribution packages rather than the official releases. Tenable notes the distributions got the patches in advance. Those builds can carry the fix without showing the official version number.

So a lower number doesn't always mean you're exposed. Only your host can tell you for sure. A clear yes in writing is worth more than any number on a dashboard.

Step 3: write down who looks after it (3 minutes)

Note the hosting company, the account login, and who replied. If the reply came from a freelancer or a friend rather than a host, write their name down too. You'll need it next time.

Should I take my website offline?

This is the awkward case. It applies if your site is on PHP 8.1 or older, your host won't upgrade it, or nobody knows who built or hosts it.

PHP 8.1 and older are past end of life. They won't get an official fixed release. The PHP team did publish source code fixes for 7.4 to 8.1, but those are for people who build PHP themselves, not something you can install from a dashboard.

CISA says anyone who can't update straight away, or is still on PHP 8.1 or earlier, should take PHP-based systems offline until they're patched. The UK's NCSC says that if you can't update or apply PHP's temporary mitigations, you should consider taking the system offline until it's fixed.

This is where an old website stops being a design question and becomes a business problem. A site nobody can update is a site nobody can defend.

What I'd do in that position:

  • Ask the host to move the site to a supported PHP version. Most shared hosts let you switch it in the control panel.
  • If they can't or won't, move host or take the site down for now. Your Google Business Profile still shows your phone number while it's offline.
  • If your site sits behind Cloudflare, Cloudflare says it has added firewall rules for the known attacks on every plan, including free. It calls them a stopgap, not a fix.

What if my site has already been hacked?

The NCSC advises checking for signs of compromise and backdoors before you patch, if you couldn't patch quickly. For a small business site, the obvious signs are admin users you didn't create, plugins you don't recognise, and pages redirecting somewhere odd.

If you find any of those, don't try to clean it up alone. The NCSC points to its assured Cyber Incident Response providers for help.

Do I need a new website?

No. Patching is the fix. If your site is on a supported, patched PHP version, it has dealt with PHP2Shell. You don't need to rebuild anything because of it.

No kind of site is immune, either. In December 2025, React Server Components, which Next.js uses, had a critical flaw of its own: CVE-2025-55182, rated 10.0. Different software, same lesson.

What matters is knowing who owns your updates. For every website, someone has to:

  • Know what software it runs on.
  • Hear about flaws like this one.
  • Apply the fix within days, not months.

If you can't name that person or company, that's the real thing to fix. For the wider question of who controls your domain, hosting and files, see who owns my website?. It's the same ownership check I'd run before any redesign.

Not sure where your site stands?

Send it through my free website check. I'll tell you plainly what I can see from the outside and what to ask your host. If the answer is "just get it patched", that's what I'll say.

Sources

FAQ

Is my WordPress site affected by PHP2Shell?

Very likely, if it's on your own hosting. WordPress runs on PHP, and PHP says every installation serving web requests is at risk. Check your PHP version under Tools > Site Health > Info > Server, then ask your host whether it's patched for CVE-2026-109618 and CVE-2026-109619.

How do I check my PHP version?

In WordPress, go to Tools > Site Health > Info and open Server. In cPanel, look for MultiPHP Manager or Select PHP Version. The fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35, but hosts can patch without the number changing, so ask them as well.

Do Wix or Squarespace sites need fixing?

Not by you. Wix, Squarespace and Shopify run the servers for you, so there's nothing for you to update.

What if my host won't upgrade PHP?

Try switching the PHP version yourself in the hosting control panel first. If that isn't possible, move host or take the site offline until it's patched. CISA says to take unpatched PHP systems offline, and the UK's NCSC says to consider it.

Is a new website the only fix?

No. Patching is the fix. A site on a supported, patched PHP version has dealt with PHP2Shell. A rebuild only makes sense if the site can't be updated or nobody can say who looks after it.

Fixed price web design

Want a Fixed-Price Website?
Pick a Package.

No hourly billing and no estimate that grows. The number I quote is the number you pay, and you own the site at launch.

Starter

Most affordable
from£399£319, was £399

Black Friday price, ends 30 November

Fixed price10 business days

A credible first website, live fast, at the lowest fixed price.

  • Up to 4 pages
  • Mobile responsive
  • SEO setup
  • Contact form
  • 1 revision round
Start my £399£319 site →

Growth

Priority build
from£1,799£1,439, was £1,799

Black Friday price, ends 30 November

Fixed price14 business days, priority

Larger builds, online shops and integrations, scoped carefully.

  • Unlimited pages
  • E-commerce ready
  • Advanced SEO + AEO
  • CRM or booking integrations
  • 3 revision rounds
Start my £1,799£1,439 site →
  • No hourly billing
  • Price agreed in writing before I start
  • 50% upfront, 50% at launch
  • You own the code and domain

Not sure which fits? Get a free website check or book a 20-minute intro.