The short version: if your website runs on WordPress, Joomla, Drupal or anything else built with PHP, ask whoever hosts it to confirm today, in writing, that PHP has been updated. Updating WordPress and its plugins is not enough on its own. If they can’t confirm it, the National Cyber Security Centre (NCSC) says to consider taking the site offline until they can.
What’s happened
On 21 October 2026 the PHP project released fixes for two critical flaws in PHP, the programming language behind a huge share of the world’s websites, including most WordPress sites. The flaws, known as CVE-2026-109618 and CVE-2026-109619 and nicknamed “php2shell”, can let an attacker run their own commands on a web server without logging in. PHP rates both 9.2 out of 10 for severity.
The fixes were meant to come out later in the month, but details leaked, so the release was brought forward. Attackers moved quickly. Amazon’s threat intelligence team recorded an exploitation attempt on 17 October, four days before the public announcement, and Cloudflare says it has seen millions of attempts on its network. In the UK, some government services were taken offline as a precaution while fixes went in. The NCSC says it has seen no indication of successful breaches in the UK so far, but calls the scale of this “unprecedented”.
Are you affected? A two-minute check
Work through these in order. Most firms will have their answer by the third question.
- What is your website built on? If you’re not sure, ask whoever built it, or look at the address of the page you use to log in and edit it. WordPress, Joomla, Drupal, Magento and WooCommerce all run on PHP, and so do many bespoke sites built by smaller web agencies.
- Who runs the server?
- A fully hosted website builder such as Wix, Squarespace, Shopify or WordPress.com: the platform runs the servers and is responsible for any fix. There’s nothing for you to update.
- A hosting company or web developer, which is the usual setup for a WordPress site: they need to update PHP. This is the group that needs to act today.
- Your own server, in your office or rented: you or your IT provider need to update it.
- Which PHP version are you on? In WordPress, go to Tools, then Site Health, then the Info tab, open the Server section and look for PHP version. In a cPanel or Plesk hosting account, look for the page that sets your PHP version. Then compare it with the table below.
Which versions are fixed
| Your PHP version | Status | What to do |
|---|---|---|
| 8.5 | Fixed in 8.5.12 | Make sure you’re on 8.5.12 or later |
| 8.4 | Fixed in 8.4.27 | Make sure you’re on 8.4.27 or later |
| 8.3 | Fixed in 8.3.36 | Make sure you’re on 8.3.36 or later |
| 8.2 | Fixed in 8.2.35 | Make sure you’re on 8.2.35 or later |
| 7.4, 8.0 or 8.1 | No official release from PHP. Some hosts and Linux suppliers have issued their own patched versions. | Ask your host in writing whether yours includes the 21 October fixes, and plan an upgrade to a supported version |
| Older than 7.4 | No fix available | Upgrade urgently, or take the site offline |
Some patched versions for older PHP keep their original version number, so the number on its own won’t always tell you whether you’re safe. Written confirmation from your host is the reliable answer.
What to ask your host or web developer
Copy this into an email and fill in your website address:
Hi,
Following the critical PHP security release on 21 October 2026 (CVE-2026-109618 and CVE-2026-109619), please could you confirm for [your website address]:
- which PHP version the site runs, and whether it now includes the fixes for both of these vulnerabilities
- when the fix was applied
- whether you’ve checked the server for any signs of compromise since 17 October.
Thanks,
A good host will reply quickly and specifically. A vague answer, or no answer, tells you something too. Keep the reply: your insurer, or your Cyber Essentials assessor, may ask what you did and when.
If the fix can’t go in today
The NCSC’s advice, in order, is:
- Update PHP to the latest version.
- If that can’t be done straight away, apply the temporary settings the PHP project has published. These reduce the risk, but PHP is clear that “there are no complete mitigations, updating is the only safe choice”.
- If neither can be done quickly, consider taking the site offline until it’s fixed.
A day with a holding page is inconvenient. A website used to spread malware, or to take your clients’ details, is much worse.
Check for signs of a break-in
Attacks started before the fix was public, so patching now doesn’t prove nothing happened earlier. The NCSC recommends checking systems for evidence of compromise, including backdoors an attacker may have left behind. Ask your host or developer to review the server from 17 October onwards, and look yourself for:
- admin or user accounts on your website that nobody recognises
- pages, links or files you didn’t add, or content that has changed
- visitors being redirected to other sites, or warnings about your site in browsers or Google
- warnings from your host about unusual activity
- emails going out from your website’s forms that you didn’t expect.
If you find any of these, don’t just delete them. Tell your host, note what you saw and when, and get help. The NCSC lists assured incident response companies on its website.
It’s not just websites
PHP is built into other systems too, including some webmail, client portals and booking systems, and the admin pages of some firewalls, phone systems and storage devices. If anything like that can be reached from the internet, check with the supplier for an update. The Dutch NCSC is keeping a list of products that include PHP, linked below.
Want us to take a look?
Our free security snapshot already checks your website software from the outside. From outside we can often tell whether a site runs PHP, and sometimes which version, though not always. We’ll tell you what we can see and exactly what to ask your host. Email Ross with your website address, or call 07885 972 512.
If your website runs on WordPress and you’d rather not go through this again, our sister company AlphaPixel builds websites with no PHP, database or plugins to patch. Get today’s fix in first, though: moving a website takes days, and patching takes minutes.
Sources
- National Cyber Security Centre, Critical security issue affecting PHP, 21 October 2026, updated 22 October 2026
- PHP project, PHP 8.4.27 released, 21 October 2026
- BBC News, PHP: 32 UK government services unavailable due to global cyber-security issue, live coverage, 22 October 2026
- Tenable, php2shell (CVE-2026-109618, CVE-2026-109619): frequently asked questions, accessed 22 October 2026
- NCSC-NL, php2shell: operational information and product list, accessed 22 October 2026