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.
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.
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
- 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.
- 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.
- 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.
- 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.
- 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.
"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
- Help Net Security, PHP2Shell: Critical PHP vulnerabilities patched, update now!
- Malwarebytes, PHP2Shell: Why websites are going offline for emergency security updates
- watchTowr, PHP Remote Code Execution (PHP2Shell), includes the UK NCSC alert
- SOCRadar, PHP2Shell: CVE-2026-109618 and CVE-2026-109619, timeline of the leak and release
- AlmaLinux, php2shell: patched PHP packages released, on patched packages and the PHP advisories
Facts checked on 21 October 2026. This situation is moving quickly, so confirm the latest details with your host or on php.net.