Manage cookies
We use cookies to provide the best site experience.
Manage cookies
Cookie Settings
Cookies necessary for the correct operation of the site are always enabled.
Other cookies are configurable.
Essential cookies
Always On. These cookies are essential so that you can use the website and use its functions. They cannot be turned off. They're set in response to requests made by you, such as setting your privacy preferences, logging in or filling in forms.
Analytics cookies
Disabled
These cookies collect information to help us understand how our Websites are being used or how effective our marketing campaigns are, or to help us customise our Websites for you. More details in our Privacy Policy.
Advertising cookies
Disabled
These cookies provide advertising companies with information about your online activity to help them deliver more relevant online advertising to you or to limit how many times you see an ad. This information may be shared with other advertising companies. More details in our Privacy Policy.
Blog  /  News
News · 5 min read · 22 October 2026

PHP2Shell fix: how to patch the PHP vulnerability on WordPress and PrestaShop

On 21 October 2026 a critical PHP vulnerability called PHP2Shell (CVE-2026-109618 and CVE-2026-109619) was made public, and governments, banks and big websites around the world took pages offline for a few hours. PHP is the code most websites run on, including every site built on WordPress and PrestaShop.

If you have a website like that, check your PHP version today. It takes about a minute. Below: what PHP2Shell is, how to check your PHP version in WordPress and PrestaShop, and how to get the PHP2Shell patch installed, in plain words.

The news

What is PHP2Shell?

On 21 October 2026 the PHP team released an urgent update for two security bugs. Researchers named the problem PHP2Shell. Through these bugs, someone can run their own code on a website's server without any login or password, and from there get to the data stored on the site.

The bugs had been sitting in PHP for more than ten years. They were found by researchers at the security companies Calif and Wiz, together with OpenAI, using AI tools that read code much faster than people can. Details leaked online a day before the official announcement, so the usual quiet window for site owners to update didn't really happen.

~70%of websites run on PHPW3Techs
9.2 / 10severity score of each bugCVSS
10+ yearsthe bugs went unnoticedWiz

Security agencies in the US, Europe and Japan told site owners to update straight away, or to take their sites offline until they could. Japan's prime minister even posted about it on X. Soon after the update came out, working attack code appeared online, so this is not a "maybe someday" problem.

The bugs weren't new. What changed is that AI got good enough to find them, for researchers and for attackers.
Your site

Is my WordPress or PrestaShop site affected?

It depends on what your website is built on. PHP runs on the server, behind the scenes, so the question is who looks after that server.

Check it todayWordPress, PrestaShop, WooCommerce, Magento, Joomla, Drupal, or any site a developer built on your own hosting.
Nothing to doTilda, Shopify, Wix and similar platforms. They look after their own servers and update them for you.

Not sure what your site runs on? Ask whoever built it, or send us the address and we'll tell you.

1 minute

How to check your PHP version in WordPress and PrestaShop

01

WordPressSite Health

Log in to your WordPress dashboard and open:

Tools→Site Health→Info→Server→PHP version
02

PrestaShopBack office

Log in to your PrestaShop back office and open:

Advanced Parameters→Information

The PHP version is in the server information block.

03

Anything elseHosting panel

Most hosting panels show the PHP version too, usually in a section called "PHP version", "Select PHP Version" or similar.

Next step

PHP2Shell patch: what your version means

Your versionWhat it meansWhat to do
8.2.35, 8.3.36, 8.4.27, 8.5.12 or higherThe fix is already installedNothing. You can relax
8.2, 8.3, 8.4 or 8.5, but a lower numberRight version, the fix isn't installed yetAsk your hosting support or developer to update PHP today
8.1 or olderThese versions won't get a fix at allAsk your developer to move the site to a newer version

The small update inside a version (say, from 8.3.20 to 8.3.36) is usually installed by the hosting company on the server. You can't do it from WordPress. Almost every hosting has a support chat or a ticket form in your account, and one short message is enough.

A message you can copy

Hi! Because of the PHP security update from 21 October (CVE-2026-109618 and CVE-2026-109619), could you please check that PHP on my site [your site address] is updated to the latest patched version? Thank you!

If someone else manages your site, send the same message to them.

8.1 and older

If your site is very old

Sites that haven't been touched for years often run on PHP 8.1, 7.4 or even older. These versions are no longer supported, so there won't be an official fix for them.

Moving to a newer PHP version is the right move, but don't just switch it in the hosting panel yourself. Old themes and plugins can stop working on a new version, and the site can break. Ask a developer to check and update the plugins first, then switch.

If that can't happen quickly, the official advice from security agencies is to take the site offline for a short while. It sounds drastic, but a few hours offline is better than a hacked site and your clients' data in the wrong hands.

Old WordPress sites usually have more than one problem at once. If yours hasn't been updated in a long time, read 5 signs your website needs a redesign, sign 05 is about exactly this.

Be careful

Watch out for scams

Scammers love big news like this. In the next weeks you may get emails like "Your website is at risk because of the PHP bug, log in here urgently" or "Pay to fix your site today".

Don't click links in these emails

Go to your hosting account or WordPress dashboard yourself, by typing the address.

Don't send passwords

Real hosting support never asks for your password by email.

Change passwords if a service asks you to

If a service you use announces it was affected and asks you to change your password, do it from its official site or app.

Sources

  1. Reuters, government websites go offline after the PHP disclosure
  2. CNN, PHP2Shell and the role of AI
  3. Sansec, technical details and timeline
  4. The Japan Times, banks and ministries take sites offline
  5. ANI, warnings from the FBI and Japan's prime minister
  6. Fortune, how Calif and Wiz found the bugs
Rising Formula

Not sure where to look?

Send us your website address. We'll tell you what it's built on, check what we can from the outside, and tell you exactly what to ask your hosting.

FAQ

Frequently asked questions

What is PHP2Shell?

PHP2Shell is the name researchers gave to two security bugs in PHP (CVE-2026-109618 and CVE-2026-109619), announced on 21 October 2026. Together they let an attacker run code on a website's server without logging in.

Is there a PHP2Shell fix?

Yes. The PHP2Shell patch is in PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12, released on 21 October 2026. On ordinary hosting, your hosting company installs it on the server. If you run your own server (for example on Ubuntu or Debian), install the updated PHP packages from your system's updates as soon as they are available. PHP 8.1 and older get no fix.

Is my WordPress site affected?

Most likely yes, if its PHP version is lower than 8.2.35, 8.3.36, 8.4.27 or 8.5.12. You can check it in Tools → Site Health → Info → Server.

Can I update PHP myself?

The small security update is usually installed by your hosting company, so the quickest way is to message their support. Switching to a newer version (for example from 8.1 to 8.3) is often possible in the hosting panel, but it can break old plugins, so it's safer to do it with a developer.

Are Tilda, Shopify and Wix sites safe?

These platforms look after their own servers and update them for their clients, so site owners don't need to do anything.

Should I take my site offline?

Only if your site can't be updated soon. That's the official advice from several security agencies for sites that can't get the fix quickly.