Short answer: If your WordPress site runs on a PHP version older than the fixed releases listed below, it is probably in scope. You can’t fix it with a plugin, and you can’t fix it inside WordPress at all. The fix is a PHP update on the server, and on most small-business sites your hosting company handles the server. Your job is to find out which PHP version you’re on and to ask your host three plain questions.
This is a real issue and it’s worth a few minutes today. It’s also not a reason to panic or take your site offline. Here’s what’s confirmed so far and what to do about it.
What happened
On October 21, 2026, the PHP project released security updates for two critical vulnerabilities in PHP itself. PHP is the language WordPress runs on.
- CVE-2026-109618, described in the PHP security advisory as “RCE via OOM corruption”
- CVE-2026-109619, described as “RCE via stale global state”
“RCE” means remote code execution. In the worst case, someone on the internet could run their own code on the web server without logging in. Wiz Research, one of the teams that found the bugs, also showed that one of them could leak data from server memory, such as passwords or keys. The PHP project rates both flaws critical, with a CVSS v4.0 score of 9.2.
“PHP2Shell” is a nickname from the researchers, not an official name. Wiz Research uses it, Sansec credits the PHP2Shell exploit tool to researchers at Calif, and Cloudflare uses it too. The official PHP advisories just use the CVE numbers, so those are what to quote when you talk to your host.
The fixed versions are:
- PHP 8.5.12
- PHP 8.4.27
- PHP 8.3.36
- PHP 8.2.35
According to php.net, every PHP installation that serves web requests is at risk. That includes the common setups hosts use (PHP-FPM, Apache mod_php, php-cgi, LiteSpeed and FrankenPHP), and the risk is highest with Apache mod_php. According to Wiz Research, Cloudflare and Sansec, the flaws affect PHP versions going back to 5.4. (The PHP advisories themselves only list fixes for the supported branches.) The PHP project puts it plainly: “There are no complete mitigations, updating is the only safe choice.”
Why a WordPress or plugin update won’t fix this
Most WordPress security news is about a plugin or theme, and the fix is to click “Update.” This one is different. The bug lives in the PHP engine underneath WordPress, not in WordPress code. Cloudflare’s write-up says updating your website code or plugins alone does not fix it. Keep WordPress and your plugins updated anyway, because that’s good hygiene, but it won’t close this particular hole.
So the fix happens at the server level. On shared hosting and most managed WordPress hosting, that means your host.
Is anyone actually exploiting it?
The reports are mixed, and they’re still changing:
- Wiz Research reported that, in testing, it could run code without a login on standard WordPress, Drupal and Joomla installs built from those projects’ latest container images.
- Cloudflare reported seeing attack traffic aimed at these flaws. It has turned on firewall rules for sites that use its network, and it still says to patch PHP.
- Amazon’s threat intelligence team reported broad exploitation attempts against its decoy servers, but said it was unclear whether any of those attempts would have succeeded on real systems.
- Sansec, a security firm that tracks attacks on online stores, said on October 22 that mass exploitation looks less likely than first feared. It says the public exploits don’t work against a default PHP install, and an attack needs specific knowledge of the target server and specific conditions on it. Its advice: “You do not need to take your store offline. Update PHP anyway.”
So the research shows a serious risk, and the early attack reports suggest a real-world attack still needs the right conditions. Treat it as urgent, not as a reason to panic. Get the update confirmed with your host in the next few days, and don’t let anyone pressure you into a panic purchase.
Step 1: Check your PHP version in WordPress
You don’t need server access for this. Any WordPress administrator can see it:
- Log in to your WordPress dashboard.
- Go to Tools → Site Health.
- Click the Info tab.
- Open the Server section and look for PHP version.
Write the number down. Then compare it to the list above:
- On 8.2, 8.3, 8.4 or 8.5 and at or above the fixed number (say 8.3.36 or 8.4.27)? You’re on a patched release. It’s still worth confirming with your host (see the questions below).
- On 8.2, 8.3, 8.4 or 8.5 but below the fixed number (for example 8.3.30)? Your host needs to apply the update.
- On 8.1, 8.0, 7.x or older? Read the “old PHP” section below.
One caveat: the version number alone doesn’t always settle it. Some hosts and Linux distributions patch PHP themselves (this is called backporting), and a patched build can keep its old version number. Sansec gives the example of a fixed package that still reports 8.1.34. That’s why the questions below ask about the build, not just the number.
Step 2: The three questions to ask your host
Send these through your host’s support ticket or chat. Short, specific questions get faster, clearer answers.
- “Has the PHP on my site been patched for CVE-2026-109618 and CVE-2026-109619?”
Naming the CVEs makes it clear what you’re asking about and lets support look it up quickly.
- “Which PHP version and build is my site running now, and is that build one of the fixed releases or a backported patch?”
This covers the case where Site Health shows a number that looks old but the host has patched it anyway, and the case where it shows a number that looks current but hasn’t been updated.
- “If my site is on a PHP version that no longer gets official updates, what’s your plan, and can you move my site to a supported version?”
This is the question that matters most for older sites (see below).
If the host tells you a firewall or WAF is protecting you “for now,” that’s helpful, but ask when the actual PHP update will be applied. Cloudflare, which runs one of those firewalls, still says to patch.
Step 3: If your site is on old PHP
The PHP project only publishes official fixes for the supported branches: 8.2, 8.3, 8.4 and 8.5. PHP 8.1 and older get no update from the PHP project. For those older versions the advisory says some Linux distributions and long-term-support vendors backport fixes, so you should check with your vendor or upgrade. The PHP security team also provided minimal source patches for 7.4, 8.0 and 8.1, but someone at the server level still has to build and install them. That’s the host’s job, not something you do from WordPress.
If your host can’t tell you they’ve patched an old version, the lasting fix is to move your site to a supported PHP version. Some practical notes:
- Back up first. Make sure a full backup of files and database exists before any PHP change.
- Test before switching, if you can. Older themes and plugins sometimes break on newer PHP. Many hosts offer a staging copy or let you switch PHP versions from the control panel and switch back if something breaks.
- Update WordPress, the theme and plugins first. Current versions are much more likely to work on newer PHP.
- Watch the calendar. PHP 8.2 reaches end of life on December 31, 2026. If you’re moving off 8.1 or older anyway, aim for 8.3 or newer so you’re not back here in a few months.
If the site breaks after a PHP change, it’s usually one old plugin or a custom theme. That’s fixable, but it’s the point where having someone who knows WordPress helps.
What this doesn’t mean
- It doesn’t mean your site has been hacked. A vulnerable version is a risk, not proof of a break-in.
- It doesn’t mean you need to rebuild your site, switch hosts tomorrow or buy a security product.
- It doesn’t mean a patched site is “secure” forever. Patching closes this known hole. Keeping a site safe is ongoing work: updates, backups and someone watching for the next advisory.
If something already seems wrong, like strange redirects, admin users you don’t recognize, or a hosting notice about malware, tell your host right away and ask them to check the server and restore from a clean backup if needed.
Who should handle this
Whoever manages your hosting should be able to answer the three questions above, usually in one reply. If you manage your own site, or nobody is sure who does, finding that out is the first step. If ParlorWeb maintains your site and you have a question about it, get in touch and we’ll tell you where things stand.
Sources
- PHP project security announcement and release notes for PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 (October 21, 2026): https://www.php.net/
- PHP ChangeLog: https://www.php.net/ChangeLog-8.php
- GitHub security advisory GHSA-w8hw-w9fx-j79w (CVE-2026-109618): https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w
- GitHub security advisory GHSA-6wmf-4rv5-p3rp (CVE-2026-109619): https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp
- Cloudflare, “Cloudflare deploys protections against php2shell vulnerability” (October 21, 2026): https://blog.cloudflare.com/php-vulnerabilities-waf-protection/
- Sansec, “PHP2Shell: PHP RCE (CVE-2026-109618, CVE-2026-109619)” (updated October 22, 2026): https://sansec.io/research/php2shell
- Wiz Research, “PHP2Shell” (October 21, 2026): https://www.wiz.io/blog/php2shell-php-rce
- Amazon Threat Intelligence, “Amazon Threat Intelligence identifies PHP2Shell exploitation prior to public disclosure in MadPot” (October 21, 2026): https://aws.amazon.com/blogs/security/amazon-threat-intelligence-identifies-php2shell-exploitation-prior-to-public-disclosure-in-madpot/
- WordPress Site Health documentation: https://wordpress.org/documentation/article/site-health-screen/
- PHP supported versions and end-of-life dates: https://www.php.net/supported-versions.php



