Article

PHP vulnerability CVE-2026-109618: what a website owner should do

28 October 202617 min read
Amirzhan Tazhin
Amirzhan Tazhin

Director, Tochka KZ

On 21 October 2026 the PHP developers announced two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619 (researchers named them PHP2Shell). They allow an attacker to run their own code on the server without authentication. If your site runs on PHP (WordPress, 1C-Bitrix, Joomla, ModX, Drupal, Laravel, Yii or custom), first check the PHP version and, if it is not patched, update it.

Updating PHP on a site is not just a switch in the hosting panel. An old CMS, plugins that haven't been updated for a long time and custom modules can stop working on the new version, so the move must be made by plan, with a backup and testing. In this article we explain what happened, who is affected, how to assess your current situation, how to safely move to the right PHP version and what to do if the site needs rework. This is what we do: we check PHP versions, update and rework sites, including custom ones.

What happened: facts about the PHP2Shell vulnerabilities

A summary as of 28 October 2026. Some details, for example the scale of real-world exploitation, differ across different researchers' publications, so the table includes only what is confirmed by the official PHP announcement and major sources.

Key facts about the PHP2Shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619)
Key facts about the PHP2Shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619)
ParameterValue
IdentifiersCVE-2026-109618 and CVE-2026-109619, which researchers call PHP2Shell
Announcement date21 October 2026
Severity rating9.2 out of 10 on CVSS 4.0 for both, “critical” level
Why they are dangerousThey allow running arbitrary code on the server without authentication, with the privileges of the PHP web process
What is affectedPHP installations serving web requests: PHP-FPM, mod_php, php-cgi, LiteSpeed, FrankenPHP
Where it is fixedPHP 8.5.12, 8.4.27, 8.3.36, 8.2.35
Old branchesLimited fixes have been released for 7.4, 8.0 and 8.1; these branches are not officially supported
New issueCVE-2026-115560 was published on 23 October; no fix had been released at the time of writing

According to Rapid7, on 26 October both vulnerabilities were added to CISA's catalog of known exploited vulnerabilities: there is evidence of real attacks. The official fix is the only complete solution; temporary measures only reduce the risk.

Who is affected

The vulnerability is in PHP itself, so it affects any site where PHP handles visitors' requests. Builders and static sites are usually not at risk, but you should check whether you have other PHP sites on the same hosting.

Which sites the PHP vulnerability affects and what to do about them
Which sites the PHP vulnerability affects and what to do about them
Site typeAffectedWhat to do
Sites on WordPress, Bitrix, Joomla, ModX, DrupalYes, they run on PHPCheck the PHP version and update
Sites on Laravel, Yii and custom PHP sitesYes, they run on PHPCheck the version and package compatibility
Landing pages and sites on Tilda and other buildersAs a rule no, PHP is on the platform's sideMake sure the site is not hosted on your PHP server
Static sites (HTML, Next.js with export)No, if the server doesn't run the site's PHP codeCheck whether there are other PHP sites on the same hosting
Mobile appsOnly if the server side runs on PHPCheck the server on which the API runs

PHP versions: what is supported and what is not

Compare your PHP version with the table. In every supported branch you must be on the latest patched release, and versions older than 8.2 are better replaced with a supported one. Support dates are taken from the php.net page, and patched release numbers from the vulnerability announcement.

PHP versions: support period, vulnerability fix and recommendation
PHP versions: support period, vulnerability fix and recommendation
PHP versionSupport statusPHP2Shell fixRecommendation
PHP 8.5Supported, active support until 31 December 2027, security until 31 December 2029Fixed in 8.5.12The best choice for new projects
PHP 8.4Supported, active support until 31 December 2026, security until 31 December 2028Fixed in 8.4.27A good choice, recommended for WordPress
PHP 8.3Security fixes only until 31 December 2027Fixed in 8.3.36Suits most CMS
PHP 8.2Security fixes only until 31 December 2026Fixed in 8.2.35Support ends soon, plan the transition
PHP 8.1, 8.0, 7.4Official support has endedOnly limited fixes, no updates are releasedYou need to move to a supported version

Note: PHP 8.2 will stop receiving security fixes on 31 December 2026, i.e. in two months. If you are moving anyway, it makes sense to choose 8.3 or newer right away and not do the work twice.

Which CMS run on which PHP versions

Each system has its own PHP requirements, and they depend on the version. Below are reference points for popular CMS. Before moving, always check the documentation for your exact version: it may differ from the general data in the table.

PHP version requirements of popular CMS and what to check when moving
PHP version requirements of popular CMS and what to check when moving
PlatformPHP requirementsWhat to watch out for
WordPressVersion 7.1 requires PHP 7.4 or newer; for production sites PHP 8.4 or newer is recommendedPlugins and the theme, especially ones that haven't been updated for a long time
1C-BitrixFor on-premise (box) versions the minimum is PHP 8.2, 8.3 and newer is recommended; the product update cannot be installed on PHP below 8.2Custom modules, components and templates, third-party solutions from the Marketplace
Joomla 6Minimum PHP 8.3, 8.4 recommendedThird-party extensions and templates
Joomla 5, 4, 3Depends on the version. Old Joomla branches are not designed for modern PHPA joint move is needed: updating both the CMS and PHP
Drupal 11Requires PHP 8.3 or newerContributed modules and custom code
MODXCurrent 3.x versions require PHP 8.1 or newer; older releases have lower requirements. Check the exact requirement for your versionSnippets, plugins and add-ons (“extras”)
Laravel, Yii and other frameworksRequirements depend on the framework version and the packages in the projectDependencies in composer.json, outdated packages
Custom PHP websitesDetermined by the project's codeDeprecated functions removed in newer PHP versions
Tilda and other buildersPHP is not used on your sideIt affects the platform, not you; the service performs the updates

If the CMS hasn't been updated for a long time, moving to modern PHP often comes down to the version of the system itself: first you need to update it, then PHP. This is a case where “site rework” is necessary, not just desirable.

How to assess the current situation: five steps

  1. Find out your PHP version

    This is the most important step. The version is shown in the hosting control panel. In WordPress open “Tools”, then “Site Health”, the “Info” tab and the “Server” section. In 1C-Bitrix use the system check in the settings, in Joomla the “System Information” section, in Drupal the status report, in MODX the system reports section.

  2. Compare it with the version table

    If you have PHP below 8.2.35, 8.3.36, 8.4.27 or 8.5.12, the site is vulnerable. If your version is 8.1 or older, you need to move to a supported branch.

  3. Make a list of sites and environments

    Which sites, on which hosts and servers, who has access, which CMS and version. Forgotten sites (an old landing page, a test copy, last year's promotion) are often remembered last, and those are exactly the ones that get hacked.

  4. Check CMS and extension compatibility

    Open the requirements of your CMS version, then the list of plugins, modules and themes. Mark those that haven't been updated for a long time or are no longer supported by the developer.

  5. Assess the risks and scope of work

    A site on a current CMS is usually moved to new PHP quickly. A site on an old CMS or with custom modules needs code changes. After the assessment it's clear how much time and money is needed.

How to move to the right PHP version: step by step

The order is the same for any platform. The main rule: test copy first, live site second.

  1. Make a backup

    Files and database, verifying that the copy can be restored. It must be stored outside the main server.

  2. Create a test copy of the site

    You must not test a new PHP version on the live site. Deploy a copy at a separate address with the same set of files and data.

  3. Update the CMS, plugins, modules and themes

    First bring up to date whatever is compatible with the new PHP. Replace or rework what is outdated.

  4. Switch the test copy to the needed PHP version

    In the hosting panel or on the server. Choose a branch from the table above, preferably 8.3 or newer with the security fix.

  5. Check the key scenarios

    The home page and inner pages, forms, search, payment, personal account, admin panel, exchange with 1C and CRM, sending emails. Review the PHP error log.

  6. Fix incompatibilities

    The most common causes: deprecated functions removed in newer versions, old libraries, plugins without support. Each problem must be fixed in code or the component replaced.

  7. Switch the live site

    During low traffic, with the ability to quickly return to the previous configuration. Check the same scenarios right after switching.

  8. Monitor and check for signs of a breach

    Watch the error logs for several days. Look for unfamiliar files, new administrators, unexpected scheduled tasks. The update closes the vulnerability but does not remove whatever an attacker may have left earlier. If you have suspicions, see the article on what to do if your website has a virus.

When a site needs rework

Switching the PHP version is quick if the site is built on a current CMS and supported extensions. Rework is needed when:

  • The CMS hasn't been updated for a long time and doesn't support modern PHP.
  • Plugins, modules or themes are used that the developer no longer releases.
  • The project has custom modules with deprecated PHP functions.
  • The site uses old libraries that are incompatible with the new language version.
  • Errors appeared after switching: a white screen, broken forms, payment or 1C exchange not working.

In such cases you need to update the CMS, replace incompatible components or rewrite sections of code. The longer updates are postponed, the more incompatibilities accumulate and the more expensive the move becomes. More on why a site needs regular updates in the article “Why a website needs updating”.

What to do before updating: temporary measures

If you can't update PHP right now, temporary measures help reduce the risk. According to security specialists, this is only a way to buy time, not a replacement for updating. The settings are made at the server level, so they must be done by the administrator or the hosting provider.

Temporary measures to protect against PHP2Shell before updating PHP
Temporary measures to protect against PHP2Shell before updating PHP
MeasureWhat it givesWhat to watch out for
Disable upload progress tracking in sessions (session.upload_progress.enabled=0)Closes known attack paths for CVE-2026-109619Set in the PHP or pool settings at the server level and requires restarting the processes. It does not work through the site's code or the .user.ini file
Limit the size of requests and uploads (post_max_size, upload_max_filesize)Reduces the attack surface if file uploads are not needed or are limitedTune it to the site's needs, otherwise files will stop uploading
Block unneeded multipart requests on the front endShortens attack paths if the application doesn't use file uploadsConfigured on the web server or in the protection in front of the site

What we do for clients

This is our work: we check PHP versions, assess the compatibility of the CMS and extensions, update sites on a test copy, rework incompatible code and check the site for signs of a breach. We also update custom sites: we go through the code, find deprecated functions and dependencies, and adapt the project to a supported PHP version. For clients on a support plan this work is part of regular support. If your site isn't on the support list, we can first run an assessment: we determine the PHP version, check compatibility and tell you what needs to be done and how long it will take.

  • We determine the PHP version and the site's environment.
  • We check the compatibility of the CMS, plugins, modules and themes.
  • We make a backup and a test copy of the site.
  • We update the CMS and extensions, switch PHP and test the site.
  • We update custom sites and framework projects: we find outdated code and adapt it to modern PHP.
  • We rework the code if the site is incompatible with the new version.
  • We check the site for signs of a breach and fix what we find.
  • We move the site to hosting with current PHP if the current plan doesn't allow updating.

You can learn about the support terms on the page “Website support”, about backups in the article “Website backup: why you need a backup and how to set it up”, and about moving in the article “Moving a website to new hosting: how to migrate without losses”.

Sources

Frequently asked questions

What is this PHP vulnerability and why is it being talked about?

On 21 October 2026 the PHP developers announced two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, which researchers named PHP2Shell. They received a rating of 9.2 out of 10 and allow code execution on the server without authentication. Web installations of PHP are affected, so millions of sites were put at risk.

How do I find out which PHP version my site uses?

Open the hosting panel and find the section for choosing the PHP version. CMS admin panels also show the version: in WordPress it is “Site Health”, in 1C-Bitrix “System Check”, in Joomla “System Information”. If you can't manage, write to us — we will determine the version and tell you what to do.

Which PHP versions are safe?

Fixes were released in versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35. If your version is lower within its branch, the site needs updating. For PHP 8.1, 8.0 and 7.4 official support has ended and only limited fixes were released, so it is wiser to move to a supported branch.

Does this affect sites on WordPress, Bitrix, Joomla, ModX?

Yes. All these CMS run on PHP, so the vulnerability relates to the server they run on, not to the CMS itself. It is fixed by updating PHP, but you need to check that the CMS, plugins and modules are compatible with the new version.

Does this affect sites on builders like Tilda?

As a rule no: the site's code runs on the platform's side, and the service performs the security updates. But if you have additional sites or services on your own hosting, they need to be checked.

Can I just update PHP and do nothing else?

On a modern site this often works, but not always. On an old CMS, with plugins that haven't been updated for a long time or custom modules, the new PHP version can cause errors: a white screen, missing forms, broken payment. That's why the update is done on a test copy and after a backup.

What should I do if the site broke after the PHP update?

Switch back to the previous PHP version in the hosting panel (this is possible if you made a backup and changed nothing beyond that). After that, analyze the error log, find the incompatible plugin or piece of code and fix it on the test copy. Don't leave the vulnerable version for long: return to the update right after the fix.

My site may already have been hacked. How do I check?

Signs: unfamiliar files and administrators, unexpected redirects, pop-up ads, emails from the site that you didn't send, warnings from the browser or search engines. A PHP update does not remove what an attacker left behind. If you suspect a breach, you need to check files and the database, change passwords and keys, clean up and restore from a clean copy.

How much does a PHP update cost and how long does it take?

It depends on the platform and the state of the site. A fresh CMS is moved in a matter of hours; a site on an old version or with custom modules may require code changes and several days. We name the price after assessing the current situation and fix it in an estimate.

Do you help with this?

Yes. We check PHP versions, assess the compatibility of the CMS and extensions, update sites on a test copy, rework incompatible code, check the site for signs of a breach and set up regular support so that such updates aren't postponed. We also work with custom sites and frameworks.

Do you update custom-built sites?

Yes. For custom sites and projects on Laravel, Yii and other frameworks we analyze the code and dependencies, find deprecated functions and incompatible libraries, fix them and test the site on a test copy. The timeline depends on the size of the project and the state of the code, so we name the price after an assessment.

What if the hosting doesn't let me update PHP?

If the plan has no modern versions, you need to change the plan or move the site to a host with current PHP. We help with the move without data loss or downtime. More in the article on moving a website to new hosting.

Will there be another fix?

Yes, possibly. Another issue, CVE-2026-115560, was published on 23 October, and the current versions do not close it. So you need to update more than once and follow PHP releases. In our support service we take this on.

The PHP vulnerability is a reason to check the version on every one of your sites and not postpone the update. If you need help, leave a request: we will determine the PHP version, assess compatibility and propose a transition plan with clear timelines and cost.

Free consultation

Tell us about your task — we'll find a solution

We reply within 15 minutes during business hours.

CallWhatsApp