Tegano Masinde
Report an issue
Back to the blog
Security21 October 2026 · 6 min read

Why updating WordPress isn't enough against the new PHP bugs

On 21 October 2026, the team behind PHP released emergency fixes for two serious flaws nicknamed "PHP2Shell". Here is what that means for your website, in plain English.

What happened

PHP is the programming language that runs WordPress. It is not part of WordPress. It lives on your hosting server, and it does the work every time someone opens a page on your site.

On 21 October 2026, the PHP team released fixes for two critical flaws, tracked as CVE-2026-109618 and CVE-2026-109619. Both are rated 9.2 out of 10 for severity. In simple terms, they can let an attacker run their own commands on a web server without logging in, just by sending it specially crafted requests.

The fixes arrived in four versions of PHP: 8.2.35, 8.3.36, 8.4.27 and 8.5.12. The details became public a day earlier than planned, after they leaked. That gave attackers a head start, which is why hosting companies are rushing to update.

Why the WordPress dashboard can't fix it

Think of your website as a car. WordPress is the dashboard and the seats. Your plugins are the extras. PHP is the engine, and your hosting server is the garage it sits in. Updating WordPress is like polishing the dashboard. It's good to do, but it can't repair the engine.

PHP runs before WordPress even starts, so the version of WordPress you use makes no difference to these flaws. The same goes for plugin updates. The fix has to be installed on the server.

Layers behind a website: visitors, hosting server, PHP (where the flaws are), WordPress, then plugins and theme. Server and PHP are updated by your host. WordPress and plugins are updated from your dashboard.
The layers behind your website. The glowing dot is a visitor's request travelling down through each one. The flaws are in the red layer, which your dashboard can't reach.

So who looks after PHP on your site?

It depends on how your site is hosted. Updating WordPress or its plugins is not the same as updating PHP. Your hosting provider, or whoever runs your server, has to do it.

Shared hosting: your host updates PHP. Managed WordPress hosting: your host looks after it. Your own server: you or your server admin must update PHP.
Who is responsible depends on your hosting. On your own server, nobody else will do it for you.

Even when your host does the work, it's worth asking. A host that has scheduled the update hasn't installed it yet, and until it's installed your site is exposed.

What about older versions of PHP?

PHP 8.1 and older no longer get routine security fixes from the PHP project. If your site runs one of those, there may be no official update to install. The safe answer is to move to a supported version, 8.2 or newer.

This is where care matters. Some older plugins and themes stop working on newer PHP. The right way is to take a backup, test the upgrade on a copy of your site, fix anything that breaks, and only then switch the live site over.

What to do today

Step 1: find your PHP version. Step 2: check it is supported. Step 3: ask your host to confirm. Step 4: keep their answer.
Four steps you can finish in a few minutes.
  1. Find your PHP version. In your WordPress dashboard, go to Tools, then Site Health, then the Info tab, then Server. The PHP version is listed there.
  2. Check it's supported. You want 8.2 or newer. The fixed releases are 8.2.35, 8.3.36, 8.4.27 and 8.5.12.
  3. Ask your host to confirm the fix is installed. Don't rely on the number alone. Some hosts and Linux distributions apply the fix to their own package without changing the PHP version number you see, so the written confirmation matters more.
  4. Running your own server? Install the update, restart PHP, and check again. If you can't patch right away, the UK's National Cyber Security Centre has advised considering taking affected systems offline until you can.
  5. Keep doing the basics. Updates, backups and two-step login won't stop these flaws, but they protect you from the many other ways sites get broken into.
A short message you can send your host:
"Please confirm which PHP version my website runs, and whether the 21 October 2026 security fix for CVE-2026-109618 and CVE-2026-109619 is installed on my server. If it isn't yet, when will it be?"

Need a hand?

If you'd rather not work through this alone, I can check what your site runs, find out who is responsible for the update, upgrade PHP safely on a copy first, and confirm everything still works. I explain every step in plain English.

Book an Emergency Security Audit

Sources

Facts checked on 21 October 2026. This situation is moving quickly, so confirm the latest details with your host or on php.net.

← Back to the blogBook an audit →