What happened on October 21
On October 21, 2026, the PHP project released fixes for two flaws, CVE-2026-109618 and CVE-2026-109619. Security researchers at Wiz named the issue PHP2Shell. The flaws allow remote code execution without logging in, and they exist in PHP itself rather than in any single plugin. Wiz reports the severity reaches CVSS 9.2 and that nearly every PHP version back to 5.4 is affected. The researchers tested against WordPress, Drupal, and Joomla deployments. W3Techs puts PHP at about 70% of sites whose server-side language is known. Palo Alto Networks Unit 42 counted more than 22.6 million exposed PHP servers potentially at risk from these flaws.
The fixed releases are 8.5.12, 8.4.27, 8.3.36, and 8.2.35. PHP 8.1 and older received no official fix from the PHP project, though the security team published source-code backports for 7.4, 8.0, and 8.1 for people who build PHP themselves. Some Linux distributions and long-term-support vendors also ship their own backported packages, which keep their own version numbers. The PHP project's own php.net advisory is clear that updating is the only complete fix.
Update, October 23: one more PHP issue
On October 23, 2026, the PHP project posted a short advisory about a separate issue, CVE-2026-115560. The October 21 releases do not fix it, and PHP will fix it in its next regular release instead of an emergency one.
It only affects a site with an unusual setup: the configuration sets session.serialize_handler to php_binary or php_serialize, the site's code switches it to php before starting a session, and session upload progress is still turned on. PHP calls this unlikely in practice, and no attacks on it had been reported as of October 23.
Until the fix ships, PHP recommends one setting: session.upload_progress.enabled=0. When you ask your host about your PHP version, ask them to set this too. If they already set it after the October 21 advisory, nothing more is needed.
Does your site use PHP?
WordPress, WooCommerce, Drupal, Joomla, and most shared hosting accounts run on PHP. If your site was built with one of these platforms, it uses PHP.
Site builders like Wix, Squarespace, or Shopify-hosted stores manage the underlying platform for you. You do not need to check a PHP version for those services.
A custom site built with Astro, Next.js, or another static or JavaScript framework usually does not use PHP. However, a form backend, admin tool, or legacy script running beside the main site might still rely on it. Check anything that handles logins, forms, payments, or dynamic content.
If you are unsure, ask your developer or host whether PHP is part of your stack.
Four ways to find your PHP version
Your hosting control panel is the easiest place to look. Log in and search for "PHP Version," "Select PHP Version," or "MultiPHP Manager." Panels often show only the first two parts, such as "8.3", which tells you the line but not whether the October 21 fix is in. For the full number, use one of the next methods.
If you run WordPress, go to Tools, then Site Health, then Info, then Server. The PHP version appears in that section.
You can also ask your host. Send them this exact question: "What is the full PHP version number running for my website, and is it patched for CVE-2026-109618 and CVE-2026-109619?"
A fourth method is a phpinfo file. Create a file with a name nobody would guess, containing `<?php phpinfo(); ?>`, upload it to your server, and visit it in a browser. This gives an accurate reading, but it also exposes server details to anyone who finds the file. Delete it immediately after you check the version.
What your version number means
Once you know your version, compare the full number, including the last part, to the fixed release for your line.
PHP 8.2 reaches end of life on December 31, 2026. Even if you are on 8.2.35 now, plan your next move before that date.
- On PHP 8.2: you need 8.2.35 or later.
- On PHP 8.3: you need 8.3.36 or later.
- On PHP 8.4: you need 8.4.27 or later.
- On PHP 8.5: you need 8.5.12 or later.
- On PHP 8.1 or older: No official fix from the PHP project. You need to move to a supported version or confirm your host has applied a verified backport.
Why this matters more on a store
A store is not just a website. It holds your customer list, the login it uses to send email, and the keys that connect it to card processing and any other system it talks to, like accounting or shipping.
The flaws fixed on October 21 let someone run commands on the server itself, not just view the page. So a store left on an old version is not only a risk to the website, it is a risk to everything the store is connected to. As of late October 2026, The Hacker News reported that activity on the two flaws (CVE-2026-109618 and CVE-2026-109619) was scanning and probing with no confirmed code execution, and no public report shows the exposure reaching connected systems, but it is the reason we treat an out of date store as more urgent than an out of date brochure site.
What to do if you are on PHP 8.1 or older
Start with a full backup of your site files and database. Store it somewhere separate from your hosting account.
Next, set up a staging copy of your site. Most hosts offer a staging environment in the control panel. If yours does not, create a manual copy on a subdomain or local environment. Do not run the upgrade on your live site first.
Before switching the version, update your plugins, theme, and core platform to their latest compatible releases. Older plugins are often the reason a PHP upgrade breaks.
Then switch the PHP version in your hosting panel. Pick 8.3 or 8.4 if your plugins support it, since 8.2 reaches end of life on December 31, 2026. After the switch, restart PHP workers or the web server, or ask your host to do it if your plan does not give you that option. The php.net advisory says to restart every worker after making the change, since a running process does not pick up the new code on its own.
Check the parts of your site that matter most: contact forms, checkout pages, login pages, and any custom features. Take screenshots of key pages before and after the switch so you can spot visual or functional changes. If you use a caching plugin or CDN, clear the cache after the upgrade so you are testing fresh output.
If something breaks, switch back to the old version and identify the cause. Keep the previous PHP version selectable for a short time so you can roll back quickly if needed. When a plugin blocks the upgrade, your options are to replace it, retire that feature, or ask the developer for an updated release.
Wiz also lists warning signs your host can look for in the server logs: unusual multipart requests followed by memory-limit errors, repeated HTTP 500 errors, unusually large or malformed PHPSESSID cookies, and PHP worker processes restarting for no clear reason. If your host sees any of these, ask them what they found and what they did about it.
A short checklist
- Confirm whether your site uses PHP.
- Find your current version through the control panel, WordPress Site Health, your host, or a temporary phpinfo file.
- Compare your version to the fixed releases: 8.5.12, 8.4.27, 8.3.36, or 8.2.35.
- If you are on 8.1 or older, back up, stage, update plugins and theme, then switch.
- Restart PHP workers after updating, or ask your host to.
- Test forms, checkout, and contact pages.
- Keep rollback access available until you are sure everything works.
- Plan your next upgrade if you are on PHP 8.2, since it reaches end of life on December 31, 2026.
If you would rather not do this yourself
None of this is hard for someone who does it every week, and plenty of owners would rather spend that afternoon on their business. If you are not comfortable in a hosting panel, or a plugin is blocking the upgrade, we can take it from here. SoFlo Web Services checks the version for you and tests the upgrade on a copy of your site before anything changes on the live one.
