PHP2Shell: Did Your Blog Host Actually Patch It?

Affiliate disclosure: some links on this page are affiliate links. If you sign up through one, we may earn a commission at no extra cost to you. It never changes which host we recommend.

PHP2Shell is the name given to two critical remote code execution flaws in the PHP core, patched on October 21, 2026. Both carry a CVSS v4.0 score of 9.2. CISA added them to its Known Exploited Vulnerabilities catalog five days later.

Here is why this one is different from the security stories we usually cover. You cannot fix PHP2Shell. There is no plugin to update and no setting to toggle. The patch lives at the server level, which means your host either applied it or did not — and most hosts have not told their customers either way.

This post shows you how to check in about five minutes, and what it tells you about your host if the answer is bad.

What PHP2Shell actually is

Two separate bugs, both allowing unauthenticated remote code execution:

  • CVE-2026-109618 — an out-of-memory corruption vulnerability
  • CVE-2026-109619 — a stale internal request-state vulnerability

“Unauthenticated” is the word that matters. An attacker does not need an account, a password, or a logged-in victim. They need to be able to send a request to a vulnerable server.

One small correction worth making, because the wrong number spread fast: some identifiers circulating before the official release carried a CVSS score of 10.0. The PHP Foundation has said that score was incorrect. The real figure is 9.2 for both. Still critical. Not quite the maximum.

Is your PHP version patched?

This is the whole post in one table. Find your PHP version in the left column.

Your PHP branchPatched versionStatus
8.5.x8.5.12Official fix available
8.4.x8.4.27Official fix available
8.3.x8.3.36Official fix available
8.2.x8.2.35Official fix available
7.4.x to 8.1.xNo official releaseMinimal source backports only
5.4.x to 7.3.xNoneEnd of life, no fix from the PHP project

Read that bottom half again, because it is the part with consequences for bloggers.

If your blog runs on PHP 7.4 through 8.1, there is no official patched release for you. The PHP project published minimal source backports, which a competent host can apply — but that requires your host to actively compile and deploy a fix rather than pull a packaged update. If your blog runs on anything from 5.4 to 7.3, there is no fix at all, and the earliest affected code path has been traced back to PHP 5.4.0.

How to check your PHP version

The fastest route, and it needs no technical skill:

  1. Log in to wp-admin.
  2. Go to Tools, then Site Health.
  3. Click the Info tab.
  4. Open the Server section.
  5. Read the line marked PHP version.

You will see something like 8.2.35 or 8.1.29. Compare it against the table above. If you are on a patched release, you are fine and you can stop reading. If you are on an older point release of 8.2 through 8.5, your host has not updated you yet. If you are on 8.1 or below, you have a bigger conversation to have with your host.

Most shared hosts let you change your PHP version yourself, in cPanel under “Select PHP Version” or in your host’s custom dashboard. If a patched branch is offered there, switching to it is usually the single fastest fix available to you.

How bad is this really?

I want to be careful here, because “critical PHP RCE” headlines drive a lot of traffic and not much clarity.

What is confirmed: Amazon Threat Intelligence observed an exploitation attempt against its MadPot honeypot network on October 17, 2026 — four days before public disclosure. Amazon recommends that investigations start from at least that date. CISA added both CVEs to the KEV catalog on October 26, with a remediation deadline of October 29 for federal agencies.

What is more nuanced: the most-cited public demonstration of working remote code execution, reported by Adel Karimi on October 24, ran against a single-worker mod_php setup — an intentionally favorable configuration. That proves the bug is real and exploitable. It does not establish how reliably it works against a typical shared-hosting stack, which looks nothing like that.

And the single most reassuring data point for WordPress bloggers specifically: as of late October, Wordfence reported no confirmed WordPress compromises traced to PHP2Shell. Imunify360, which sells server-side protection and therefore has an interest in the number, says it is blocking 99% of attack attempts across roughly 100,000 servers.

So: a genuinely critical flaw, confirmed exploited in the wild, with no confirmed WordPress victims yet. Urgent for your host. Not a reason to panic about your blog.

Who does not need to worry about this

If Site Health shows you a patched version — 8.5.12, 8.4.27, 8.3.36, 8.2.35 or later — you are done. Your host did its job. There is nothing else for you to do, no plugin to install, and no setting to change. Close the tab.

If you are on managed WordPress hosting, you are also very likely fine. Patching the PHP stack within days of a KEV listing is the core of what that tier sells. It is worth checking anyway, but the answer is usually yes.

The honest counterweight to this whole post: a blogger on an unpatched PHP 8.1 host is still far more likely to be compromised through a vulnerable plugin, a reused password, or an abandoned admin account than through PHP2Shell. If you fix one thing this week, audit your plugins and your users first. We covered that in our WordPress security guide for bloggers.

What a slow response tells you about your host

Use this as a test. A server-level flaw with a KEV listing and a published federal deadline is about as clear a signal as the industry generates. How your host handled it is a fair proxy for how it will handle the next one.

Three questions worth asking support:

  • Which PHP version is my account running, and is it patched against CVE-2026-109618 and CVE-2026-109619?
  • If I am on 7.4 to 8.1, have you applied the source backports, or am I simply unpatched?
  • Can I move my account to a patched PHP branch today?

A host that answers all three clearly is doing fine. A host that cannot tell you which PHP version you are on is telling you something.

If the answers push you toward moving, managed hosting is where this problem largely disappears. Kinsta keeps its PHP stack on current supported branches and handles server-level patching as part of the plan. SiteGround does the same at a lower price and lets you switch PHP versions yourself from the dashboard. On the budget end, Hostinger offers current PHP branches and a one-click version switcher, which at least puts the fix in your hands.

If you decide to move, do it properly — our guide on how to migrate your blog to a new host covers doing it without losing traffic, and reliable hosting for WordPress blogs compares who actually keeps their stack current.

Frequently asked questions

Can PHP2Shell be fixed from inside WordPress?

No. PHP2Shell is a flaw in PHP itself, not in WordPress, a theme or a plugin. The fix has to be applied to the server’s PHP installation by your host. The only action available to you is switching your site to an already-patched PHP branch, if your host offers one.

Have WordPress blogs actually been hacked through PHP2Shell?

As of late October 2026, Wordfence reported no confirmed WordPress compromises traced to PHP2Shell. Exploitation attempts against servers have been observed since October 17, so the risk is real, but no WordPress-specific victims had been confirmed at the time of writing.

What if my host runs PHP 8.1 or older?

There is no official patched release for 7.4 through 8.1 — only minimal source backports your host would have to apply manually. Ask your host directly whether they have done so. If you can switch to PHP 8.2.35 or later from your control panel, that is the cleaner fix, though you should test your site afterwards for plugin compatibility.

Is upgrading PHP risky for my blog?

Jumping several major versions can break old plugins and themes. Moving within a branch — 8.2.20 to 8.2.35, say — is low risk. Take a backup first, switch, then click through your site. Most hosts let you revert in one click if something looks wrong.

Does a security plugin protect me from PHP2Shell?

Partially at best. Server-side tools like Imunify360 can block many attack attempts, and Imunify360 claims a 99% block rate across its fleet. But a WordPress-level security plugin sits above the layer where this flaw lives. Patching the PHP version is the only real fix.

The bottom line

PHP2Shell is two critical unauthenticated RCE flaws in PHP, scored 9.2, patched on October 21 and confirmed as exploited by CISA on October 26. It is not something you can fix. It is something your host fixes for you, or does not.

Spend five minutes in Tools, then Site Health, then Info, then Server. If your PHP version is 8.2.35, 8.3.36, 8.4.27 or 8.5.12 or later, you are patched and this story is over for you. If you are on 8.1 or below, you are not patched and no official fix exists for your branch — which is a reason to ask your host hard questions, and possibly to start looking at better hosting for bloggers.

Sources

Similar Posts