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

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.

Client reviews

What clients say about the SEO work

Copied word for word from my Upwork profile, where only a client with a closed contract can leave a review. Here are 12 of them, picked at random.

★ 271 client reviews on UpworkTop Rated Plus100% Job Success
★★★★★

“Muhammad is a true expert in all things related to Wordpress Development and Website Speed Optimization. He has been instrumental and incredibly efficient in helping us to improve our baseline website loading speeds and optimizing our Elementor Based Wordpress sites for Google Core Web Vitals.”

60 minute consultationUpwork client, Sep 2025
★★★★★

“Thank you Muhammad for all your hard work. We really appreciate everything you did and we are really happy with the results.”

website Speed & SEOUpwork client, Jun to Jul 2025
★★★★★

“Great experience working with Muhammad on our WooCommerce site. His web design, web development, and on-page SEO work was excellent and delivered on time. Site is responsive, fast, and ranks well already. Will definitely hire him again for future WordPress work.”

WordPress E-Commerce Website , one productUpwork client, Mar to May 2026
★★★★★

“This is the second website Muhammad has created for me, this time for my main photography and videography business. I gave him very little brief and he has produced a fantastic website, transferring extensive content from my previous one. The new site looks great, is fast, SEO optimised and easy to navigate. Muhammad was responsive with changes and helpful with instructions on how to make changes to the site myself. Highly recommended - will be working with him again”

Read the full review
Redesign Existing WordPress WebsiteUpwork client, Dec 2025 to Jan 2026
★★★★★

“I worked with Muhammad on a previous project, then hired him on a weekly basis for updates and maintenance on my website. We created a work flow where I would put what I needed done on a google sheet, if I needed to add any instructions I would create a loom video. This made working with Muhammad seemless and fewer one-on-one videos especially because of the time difference.”

Read the full review
Web Design and SEOUpwork client, Nov to Dec 2024
★★★★★

“Highly responsive and available. He is very clear in communication and gets the job done right without adding extra expenses to the time allocated for the project.”

Web Design/ Development/ SEO / Site improvements / Troubleshooting/ Website MaintainanceUpwork client, Feb 2023 to Oct 2025
★★★★★

“Muhammad was great to work with! He responded quickly, followed instructions well, and produced good work. We were happy with his efforts and work.”

Elementor Webpage fix for SharkninjaUpwork client, Nov 2024 to Dec 2025
★★★★★

“Muhammad was always very patient and detail oriented with us! He communicated very well and worked quickly and independently. I would often send him follow up issues on our website and he always fixed them right away. He did a great job transitioning the website to Elementor and we are really happy with his work!”

WordPress Website Enhancement: Custom CSS, Dynamic Content, and Layout AdjustmentsUpwork client, Nov 2024 to Jan 2025
★★★★★

“Muhammad did an excellent job, throughout the process he was very responsive and a good communicator.”

Squarespace to Wordpress migrationUpwork client, May 2025 to Feb 2026
★★★★★

“Younus is a talented WordPress developer who delivered exactly what we needed. Great communication, timely delivery, and a pleasure to work with!”

Website Development - Samui Childcare ServicesUpwork client, Dec 2024 to Mar 2025
★★★★★

“Mohammed was a pleasure to work with. I very highly recommend him. His communication is outstanding and he exceeded my expectations. I will be working with him again in the future for sure.”

WordPress Expert Needed to Fix Mobile Version of Luxury Tour WebsiteUpwork client, Mar to Apr 2026
★★★★★

“It’s a pleasure working with Muhammad. He is highly creative with excellent communication skills and goes the extra mile to ensure the work is delivered as expected. Thank you!”

WP Project (upload & create one WP Product Test Page)Upwork client, Aug 2024
Call