
PHP Security Update: What to Do When a Critical Flaw Hits Your Website (October 2026)
PHP fixed two critical security flaws on 21 October 2026. If your website runs on WordPress, here is what to check today, in plain English, and how to spot fake "urgent security" emails.
Updated 20 November 2026: on 19 November PHP released new security versions, 8.5.13, 8.4.28, 8.3.37 and 8.2.36, which also fix the third issue (now rated critical), so we have updated which versions are safe and refreshed the usage figures. Updated 9 November 2026: on 26 October the US agency CISA listed both critical flaws as known to be exploited, and we now quote Amazon's edited wording. Updated 24 October 2026 at 11:03 UK time: on 23 October PHP announced a third issue (CVE-2026-115560), which it says needs an unusual set-up, and it suggests one setting change until its next regular release (see "Which PHP versions are safe?" below). Updated 22 October 2026 at 17:54 UK time: the NCSC now says any version of PHP is affected, security firms report attacks, and some hosts have fixed PHP without changing its version number. We have also added which PHP versions are safe, the NCSC's advice, a timeline, and answers for sites on WordPress.com, Squarespace, Wix and Shopify. Facts first checked against PHP's and the NCSC's own pages at 14:55 UK time on 21 October 2026, again on 22 October, PHP's again on 23 and 24 October, the NCSC's, PHP's, Amazon's, the BSI's and CISA's pages again on 9 November 2026, and all of them again on 20 November 2026. We will update this page if their advice changes.
What is the PHP security update, and what should I do?
On 21 October 2026 the PHP project released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. They fix two critical flaws that can let an attacker run their own code on a web server without logging in. PHP says "All PHP users are strongly encouraged to update immediately" and that updating is the only safe choice (PHP security advisory). The UK's National Cyber Security Centre (NCSC) is encouraging UK organisations to take immediate action (NCSC alert). On 19 November PHP released newer security versions, 8.5.13, 8.4.28, 8.3.37 and 8.2.36, so those are the ones to have now (see "Which PHP versions are safe?").
PHP is software that runs on a web server and generates a website's pages. WordPress needs it to run, so if your business website runs on WordPress, this is about you. PHP is installed on your hosting company's server, and your host decides which PHP versions your site can use, so the fix comes through them. Your part is to check it has been done, check your PHP version is still supported, and keep your theme and plugins up to date.
Key takeaways
- Ask your host whether your server has PHP's latest security update: 8.5.13, 8.4.28, 8.3.37 or 8.2.36 (19 November 2026) or later, or a patch to the version you are on.
- PHP 8.1 and older no longer get updates from the PHP project. PHP 8.2 gets security fixes until 31 December 2026.
- Updating WordPress does not fix this flaw on its own. The fix is in PHP, on your host's server.
- Back up, then update WordPress, your theme and your plugins.
- Be wary of "urgent security" emails, even ones that seem to come from your web company.
Which PHP versions are safe?
These are PHP's newest security releases for PHP 8.2 to 8.5, out on 19 November 2026, and they were still the newest on php.net when we checked on 20 November 2026 (PHP). Each one fixes the two critical flaws from October and the issues PHP published on 19 November that affect its version, including the third issue below:
- Is PHP 8.5.13 safe? Yes, and so is any later 8.5 release.
- Is PHP 8.4.28 safe? Yes, and so is any later 8.4 release.
- Is PHP 8.3.37 safe? Yes, and so is any later 8.3 release.
- Is PHP 8.2.36 safe? Yes, but PHP 8.2 only gets security fixes until 31 December 2026, so plan a move.
- Are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 still safe? Not any more. They fixed the two October flaws, but not the issues PHP fixed on 19 November. PHP rated seven of those critical, and says its critical ones need "either non-default configuration or uncommon setups" (PHP). Ask your host for the newer release.
- What about PHP 8.6? PHP 8.6.0 came out on 19 November too (PHP), and PHP's change log lists the same fixes for it (PHP ChangeLog). PHP calls it "a major update to the PHP language", so test your site before moving to it (step 3).
- PHP 8.1, 8.0, 7.4 or older? The PHP project makes no releases for them. For the October flaws it published patches for developers to build in by hand, for PHP 7.4, 8.0 and 8.1 only. For the third issue, PHP says older unsupported releases "may also be affected", and its 19 November fixes are for PHP 8.2 and newer only (PHP advisory, 19 November). Some hosts add fixes to these versions themselves, so ask yours, and plan a move to a supported version.
If your number is lower than these, your site may still be fixed, because some hosts patch the version you are on without changing the number (see step 1). And "safe" here means safe from the PHP flaws on this page only. It says nothing about an out-of-date plugin, for example.
The third issue, now rated critical. On 23 October PHP published an informational advisory about a third flaw, CVE-2026-115560, linked to a PHP feature called session upload progress, and called it "an unlikely RCE vector" (a route to running an attacker's code) (PHP advisory, 23 October). Its full advisory, published with the 19 November releases, rates it critical, 9.2 out of 10 on CVSS v4.0, and calls it "a configuration-dependent deserialization issue": an attack needs session upload progress switched on, and session data written in one format and read back in another (PHP advisory, 19 November). The 19 November releases fix it and turn session upload progress off by default. PHP's advice is to keep it off with the setting session.upload_progress.enabled=0, before and after the update, because a setting that switches it on overrides the new default. So when you ask your host the question in step 1, ask about that setting too.
What to do today
1. Ask your host one question
WordPress.org puts it plainly: "Your hosting company determines which versions of PHP are available for your site" (WordPress.org). So ask them, through their support page or a contact you already have, never a link in an email you were sent:
Has the server my website runs on got PHP's security update of 19 November 2026, either 8.5.13, 8.4.28, 8.3.37 or 8.2.36, or a patch to the version I am on? Is session upload progress turned off? Which PHP version is my site using now?
PHP says the companies that package server software (Linux distributions and long-term support vendors) received the October patches in advance, so your host may have had that update early. If nobody knows who hosts your site, finding out is the first job.
Don't judge by the version number alone. Some hosts have added the fix to the PHP version their customers already use. Hostinger, for example, says "the fix is built into the PHP version your site already runs, so the version number may not change" (Hostinger). So a site showing an older number may already be fixed: what your host tells you is what counts.
2. Check your WordPress PHP version
In your WordPress dashboard, go to Tools, then Site Health, then the Info tab. Open the Server section and look for PHP version (WordPress.org). Then compare it with PHP's own dates (PHP supported versions and PHP end of life dates):
| Your PHP version | Newest release | PHP security fixes until | What it means |
|---|---|---|---|
| 8.6 | 8.6.0 (new on 19 Nov 2026) | 31 Dec 2030 | Supported. Test your site before moving to it |
| 8.5 | 8.5.13 | 31 Dec 2029 | Supported |
| 8.4 | 8.4.28 | 31 Dec 2028 | Supported |
| 8.3 | 8.3.37 | 31 Dec 2027 | Supported. WordPress recommends 8.3 or newer |
| 8.2 | 8.2.36 | 31 Dec 2026 | Supported until the end of this year. Plan a move |
| 8.1 and older | No release. October's patches for developers only, for 7.4, 8.0 and 8.1 | Ended (8.1 on 31 Dec 2025, 7.4 on 28 Nov 2022) | Unsupported. Move to a supported version |
3. Update PHP in WordPress safely
If you need a newer PHP version, WordPress.org's advice is to prepare first (WordPress.org):
- Make a backup of your website.
- Update WordPress, your theme and your plugins, then check the site still works.
- Install the PHP Compatibility Checker plugin to look for problems. WordPress.org says it "isn't perfect", so treat it as a guide.
- Change the PHP version in your hosting settings, or ask your host to do it.
While you are there, delete plugins and themes you no longer use. Patchstack, a WordPress security vendor, found 91% of the new WordPress security flaws it counted in 2025 were in plugins (Patchstack). Our Website Security Checklist for Small Businesses covers the rest of the routine. For the WordPress and plugin security releases of September and October 2026, see WordPress Security, September to October 2026.
4. If your site is on PHP 8.1 or older
PHP 8.1 and older have reached end of life and "no longer receive updates from the PHP project". PHP says some distributions and long-term support vendors provide "backported fixes" (the fix adapted for an older version), so ask your host. The lasting answer is a supported version.
Some themes and plugins may not work on a newer PHP version, which is why WordPress.org says to test first. If yours cannot move without breaking, the site needs a developer or a replacement. Our guide WordPress Maintenance vs Rebuild: What a Care Plan Never Fixes helps you weigh up which.
What the PHP security update fixes, in plain English
Because PHP does its work on the server, behind the pages people see, a flaw in PHP sits underneath every site built on it, however well the site itself is looked after.
The two flaws have the official reference numbers CVE-2026-109618 and CVE-2026-109619. Both are rated 9.2 out of 10 on CVSS v4.0, the standard severity score (PHP's advance notice). PHP describes them as remote code execution without a login: a request to the website can lead to the server running an attacker's code. PHP says all PHP installations serving web requests are at risk. It rates the risk highest for one server set-up (Apache with mod_php), where it has shown a working attack. The NCSC now says "Organisations using any version of PHP are affected".
You may also see the name "php2shell". The Dutch National Cyber Security Centre (NCSC-NL) uses it for its public page on these flaws, which the UK NCSC links to (NCSC-NL). Attackers are already trying it. Amazon's threat intelligence team wrote on 21 October, in a post it edited the next day, that "PHP2Shell is now seeing broad exploitation attempts in the wild", though it was "unclear if any of these attempts would have succeeded" (AWS). On 22 October Germany's national cyber security agency, the BSI, said it did not yet know of any successful attacks on a wide scale (BSI, in German). On 26 October the US Cybersecurity and Infrastructure Security Agency (CISA) added both flaws to its list of known exploited vulnerabilities (CISA). So follow the steps above today rather than next week.
What the NCSC says about PHP
The UK's National Cyber Security Centre (NCSC) published its alert on 21 October and has since updated it (NCSC alert). It says "Organisations using any version of PHP are affected", and its advice comes down to this:
- Find every system that runs PHP, starting with anything facing the internet, and don't only look for old versions.
- Update to the latest version of PHP.
- If you can't update yet, use the temporary mitigations the PHP Foundation has published.
- If you can't do that, or it would take too long, consider taking the system offline until it is fixed.
- If it has to stay online without the fix, check it for signs of a break-in, such as backdoors left by an attacker.
- Watch for updates from the makers of other products that have PHP built in.
If a hosting company runs your website's server, steps 2 and 3 are its job. That is why step 1 of our list is a question for your host.
PHP security update timeline
- Tuesday 20 October: PHP announced a security release for the next day (PHP).
- Wednesday 21 October: PHP released 8.5.12, 8.4.27, 8.3.36 and 8.2.35 (PHP), and the NCSC published its alert. WordPress.org said no WordPress update was needed (WordPress.org). Security firms reported attack attempts.
- Thursday 22 October: the NCSC's alert now said any version of PHP is affected. UK hosts including IONOS (IONOS), 123 Reg (123 Reg) and 20i (20i) said they had applied the fix.
- Friday 23 October: PHP published an informational advisory about a third issue (CVE-2026-115560), which it says is unlikely in practice, and suggested turning off session upload progress (
session.upload_progress.enabled=0) until its next regular release (PHP). - Monday 26 October: the US agency CISA added both critical flaws to its list of known exploited vulnerabilities (CISA).
- Wednesday 18 November: PHP announced security releases for the next day for all supported versions, with the highest severity rated critical (PHP).
- Thursday 19 November: PHP released 8.5.13, 8.4.28, 8.3.37 and 8.2.36 (PHP), with 17 security advisories, 7 of them rated critical, among them the third issue, CVE-2026-115560 (PHP advisories). It released PHP 8.6.0 the same day (PHP).
Is my website safe?
If your site runs on PHP, your host has installed a current PHP version (8.6.0, 8.5.13, 8.4.28, 8.3.37 or 8.2.36, or later) and session upload progress stays off, the PHP flaws on this page are fixed for your site. In October some hosts added the fixes to the PHP version their customers were already on instead, so ask yours what it has done about the 19 November fixes (step 1). PHP published none of the 19 November fixes for 8.1 and older, so on those versions a fix for the 19 November issues has to come from your host or its software supplier, not from PHP. Until your site has one or the other, it is at risk. These figures, checked on 20 November 2026, show how widely PHP is used and how many UK businesses report a breach or attack:
- Sites running PHP. W3Techs finds PHP on 68.1% of websites whose server-side language it knows (W3Techs).
- WordPress sites. W3Techs puts WordPress on 38.5% of all websites (W3Techs), and WordPress needs PHP to run.
- Sites on old PHP. By WordPress.org's own count, 31.6% of WordPress sites are on PHP 8.1 or older, and another 22.3% are on PHP 8.2 (WordPress.org statistics; the 31.6% is our sum of every version from 8.1 down).
- Small businesses too. In the government's latest survey, 43% of UK businesses reported a breach or attack in the last 12 months, including 42% of micro businesses (1 to 9 staff) (Cyber security breaches survey 2025/2026).
If your site does not run on PHP, this flaw does not reach it directly. Not sure? Ask whoever hosts it, using the question in step 1. The NCSC also points out that some devices and services may have PHP built in, so if you have IT support, ask them to check those too.
Beware of "urgent security" emails, including ones pretending to be your web company
This part applies whatever your website runs on. Phishing is the most common attack on UK businesses: 38% had one in the last 12 months, and 12% had people impersonating organisations in emails or online (Cyber security breaches survey 2025/2026).
It has happened to us. In September and October 2026, fake emails went out in our founder Sam's name from Gmail addresses. The first said a domain had to be renewed before 28 September or the site would go offline. The second offered a WordPress platform update "ahead of the October 15 deadline". There was no deadline. We build on Next.js, never WordPress, which gave that one away. On 22 October a third went out, this time in our co-founder Harriet's name and again from a Gmail address, with the subject "Important WordPress Platform Update for Your Website". Check before you act:
- Read the sender's full email address, not just the name. A Gmail or Outlook address claiming to be your web company is a warning sign.
- Be wary of a deadline, a threat that your site will "go offline", or a request to pay, reply or log in.
- Contact the company on a phone number or address you already have, never one in the email.
- Forward suspicious emails to report@phishing.gov.uk, and the NCSC will investigate (GOV.UK).
- If you have already paid or shared bank details, call your bank straight away. If you have lost money or been hacked, report it to Report Fraud on 0300 123 2040 in England or Wales. In Scotland, report lost money to Police Scotland.
We only ever email you from an @brambla.co.uk address, and we never ask for urgent payments, domain renewals or bank-detail changes by email. The full details are on How we contact you. If you've had a fake email in our name, Web Design Agency Impersonation Scams says what happened and what we did.
If keeping up with this feels like too much
Our view: once your host has installed the fixed PHP version and you have updated WordPress and its plugins, you do not need to change platform because of this flaw. But if nobody is really looking after your site, that is worth fixing either way.
Where we stand. Our small business websites are custom-built on Next.js and hosted on Vercel (online shops are on Shopify), and we do not use WordPress for our builds (How we build). Next.js runs on Node.js, not PHP (Next.js docs), so this flaw does not reach them. No platform is immune, though: in December 2025 a flaw rated 10 out of 10 in React Server Components affected Next.js too (React team). The difference is who is watching. On our plans we run the site for you, security and backups included.
Want to know where your site stands? Our Website Audit has two options. The free Mini Audit checks your homepage's clarity, takes a mobile and speed snapshot and gives a basic SEO overview, with two or three improvements to make straight away. It is not a security check. The £149 Full Website Audit adds a technical health check of hosting, security and outdated plugins, and the fee is credited back if you then start a project with us.
Rather hand it over? Our pay monthly website plans are a free build from £30 a month, and we run the site for you; because the site is part of the service, it comes down if you cancel. Or there is the 7 Day Website from £1,200, run on WebsiteCare from £65 a month. WordPress sites are not part of our standard WebsiteCare plans: if you want us to look after one, we review the site and its hosting first, then give you a quote.
Frequently Asked Questions
Do I need to do anything if my website is on WordPress?
Yes, but it is usually quick: check with your host that your server has the PHP fix. Updating WordPress, your theme and your plugins is still worth doing, but it does not fix this flaw. WordPress.org says "No WordPress update is required or planned for these issues" (WordPress.org).
What PHP version should my WordPress site use?
WordPress recommends PHP 8.3 or greater (WordPress requirements). Whichever version you are on, make sure it has PHP's latest security update: 8.3.37 or later on PHP 8.3, for example, or a version your host has patched.
When does PHP 8.2 reach end of life?
PHP 8.2 gets security fixes until 31 December 2026. PHP says it "will receive no further security fixes after that date" (PHP).
Is PHP 7.4 still safe to use?
No. PHP 7.4 reached end of life on 28 November 2022, and PHP says versions this old "no longer receive updates from the PHP project". For the October flaws PHP offered only a minimal patch that has to be built into PHP by hand, which is a developer's job, and its 19 November fixes are for PHP 8.2 and newer only. WordPress.org's figures showed 14.1% of WordPress sites still on PHP 7.4 when we checked on 20 November 2026 (WordPress.org statistics).
What if my host cannot update PHP straight away?
The NCSC says to apply the temporary workarounds PHP has published, and if that is not possible or would take too long, to consider taking the system offline until it is fixed. If the site stays online without the fix, the NCSC says to check it for signs it has been broken into, such as backdoors (hidden ways back in) left by an attacker.
When will PHP be fixed?
It already has been. PHP fixed the two critical flaws on 21 October 2026. On 19 November 2026 it fixed the third issue, along with the other issues it published that day (see "Which PHP versions are safe?"). PHP says those releases are part of its "regular four-week release cycle". What matters now is whether your host has installed the latest one on your server, so ask them.
Does WordPress run on PHP?
Yes. WordPress.org says "PHP is one of the programming languages that WordPress is built on", and it recommends PHP 8.3 or greater (WordPress.org). It also says these flaws are not specific to WordPress. The fix is the PHP update on your host's server. Keep WordPress and your plugins up to date as well, but that won't fix this flaw.
How do I know if my website uses PHP?
If it runs on WordPress, Joomla or Drupal, it uses PHP, because all three need it to run (WordPress, Joomla, Drupal). Some servers also send the PHP version with every page, but hosts can turn that off (PHP manual), so not seeing it proves nothing. The surest way is to ask whoever hosts your site.
My site is on WordPress.com, Squarespace, Wix or Shopify. Do I need to do anything?
On WordPress.com, no. Automattic, which runs it, said on 21 October that sites it hosts were "already protected" and "There is nothing you need to do" (Automattic).
When we checked on 22 October, we found nothing from Squarespace, Wix or Shopify about these flaws. On all three the company runs the hosting, not you. Squarespace calls its hosting "fully-managed" (Squarespace), Wix says "There is zero server maintenance required for Wix users" (Wix), and Shopify says server maintenance "is handled at the platform level" (Shopify). To be sure, ask their support or watch their status pages. Shopify also says the third-party apps you install are your side to secure, so check with the companies that make them.
Related reading
- WordPress Security, September to October 2026: Is Your Site Safe?
- Website Security Checklist for Small Businesses
- Website Security for Small Businesses: The Complete 2026 Guide
- WordPress Website Cost UK: What You'll Really Pay Over 5 Years
- Complete Guide: WordPress Maintenance vs Rebuild: What a Care Plan Never Fixes
Tags
Sam Butcher
Founder, Brambla
Sam is the founder of Brambla (SDB Digital Ltd), a creative digital agency based in Devon. He manages website hosting, security and maintenance for businesses that need their sites running reliably without the overhead of an in-house team.
See more of us on Google
Add Brambla as a preferred source and Google is more likely to show you our articles in its Top Stories.
Add Brambla on GoogleMore from the Blog

WordPress Security, September to October 2026: Is Your Site Safe?
Two WordPress security releases, a break-in at the company behind UpdraftPlus and malware in one Rank Math PRO release. What happened in September and October 2026, and what to check on your site.

SSL Certificates Now Last 200 Days: What It Means for Your Website
SSL certificates now last 200 days at most, and the limit keeps falling. What it means for your site, what three UK hosts say, October 2026's changes from Let's Encrypt and Chrome, and how to check yours.

Website Security for Small Businesses: The Complete 2026 Guide
A comprehensive strategic overview of the 2026 website security landscape for UK small businesses: AI-powered attacks, supply chain risks, and the practical security stack every SME needs.
READY TO GROW YOUR BUSINESS?
Whether you need a new website, SEO, or a full digital marketing strategy — we're here to help.
START A PROJECT