X
X
Worldwide (English) GBP 0

Welcome

Sign in

PHP2Shell Vulnerabilities: A Security Update Guide for Hosting and Servers

HomepageArticlesPHP2Shell Vulnerabilities: A Security Update G...

PHP security updates and server protection

The PHP vulnerabilities known as PHP2Shell, tracked as CVE-2026-109618 and CVE-2026-109619, require hosting users and server administrators to review their update status. These vulnerabilities can allow unauthorized code execution on affected systems and put data at risk. Security fixes have been released.

This guide expands the notice sent to our customers into practical steps for different service types. The PHP advisory does not, by itself, indicate that a security breach has occurred in Hostturka's infrastructure.

Why PHP updates need a separate check

A PHP version number alone may not establish whether a package is patched. Vendors such as CloudLinux can backport security fixes while retaining a lower version number. Check the vendor's advisory and the installed package changelog.

Updating a control panel does not necessarily update every PHP runtime serving your websites. If several PHP branches are installed, verify each one separately.

Steps for shared hosting customers

  1. Back up your website. Keep a current, restorable copy of your files and database.
  2. Check the PHP version for each domain. Use the relevant PHP settings in your hosting control panel.
  3. Test compatibility. Check your CMS, themes, plugins and custom applications before changing PHP versions.
  4. Choose a supported, patched version. Plan a migration away from versions that no longer receive security support. Contact our support team if you need help selecting an appropriate option.
  5. Test important website functions. Check login, forms, uploads and checkout after the change.

VPS, VDS and dedicated servers using cPanel

Server administrators with root access should review the operating system, cPanel and all website PHP packages. A cPanel update can be started over SSH with:

/usr/local/cpanel/scripts/upcp --force

A successful cPanel update does not prove that all EasyApache PHP (EA-PHP) or CloudLinux Alt-PHP packages contain the fixes. Update those packages separately and restart the relevant Apache, PHP-FPM or LiteSpeed processes according to your vendor's instructions.

If an unsupported operating system blocks the update, plan an upgrade or migration to a supported platform. Confirm the scope of any extended security support. Do not treat failed package transactions or repository errors as a successful update.

Servers using Plesk

Review available updates in Plesk's Updates section. Apply security updates for the operating system and the PHP components in use. Check each domain's PHP handler and version, then verify that websites and applications work correctly.

If you cannot update immediately

Temporary mitigations depend on the PHP version and server configuration. Disabling individual PHP features, changing upload limits or using a web application firewall does not replace patching. A measure that limits one exploitation path may not block another.

Contact our support team to assess appropriate temporary measures and set a schedule for the permanent update.

Troubleshooting older CloudLinux and cPanel servers

Running an update command is only the first step. The following issues can prevent fixes from being installed. These procedures are for administrators with root access; shared hosting users should open a support ticket.

1. The operating system blocks a cPanel upgrade

The message “Newer releases of cPanel & WHM are not compatible with your operating system” means the target cPanel release does not support the current OS. Forcing the upgrade does not resolve this incompatibility. Prepare an OS upgrade or migration, and confirm any extended security support with your provider. Meanwhile, check PHP security packages in accessible repositories. Treat the panel upgrade and PHP patching as separate tasks.

2. Update EA-PHP and Alt-PHP separately

Both package families can exist on a CloudLinux server. Updating one does not update the other. The examples below apply only to the stated CloudLinux versions; follow your vendor's instructions on other systems.

CloudLinux 7:

yum clean all
yum update 'ea-php*'
yum update 'alt-php*'

CloudLinux 8 and 9:

dnf clean all
dnf upgrade 'ea-php*'
dnf upgrade 'alt-php*'

Review the transaction summary and confirm successful completion. Fixed Alt-PHP packages have reached the regular CloudLinux repositories, so adding an extra ELS repository solely for this update is no longer necessary. Follow your organization's support agreement and repository policies where these differ.

3. A repository error does not mean no update is needed

For HTTP 523, connection failures or “repository not found” messages, check the repository address, enabled repository IDs and the provider's service status. A subsequent “No packages marked for update” message does not prove that the security fixes were installed. Once the mirror or licensing service is restored, refresh the cache and retry. Keep TLS verification and package signature checks enabled.

For example, referencing php-els in a command does not mean that repository is configured or accessible. If authorization files or tokens are invalid, contact your licensing provider without posting their contents publicly.

4. Duplicate RPM records block installation

An interrupted older transaction can leave multiple installed-version records for the same package name and architecture. If you see “is already installed” or dependency conflict errors, inspect duplicates with:

package-cleanup --dupes

Do not use this output as a reason to remove packages indiscriminately. Back up the RPM database and package inventory first. An experienced administrator should identify the older duplicate records, follow the vendor's database repair procedure, reinstall retained packages where necessary, and complete the update. Do not blindly run broad cleanup commands that remove package files or force installations past dependency checks.

5. Verify the fixes and restart the relevant services

For CloudLinux backports, look for both CVE IDs in each installed branch's changelog. These package names are examples; replace them with packages installed on your server:

rpm -q --changelog alt-php82-common | grep -E 'CVE-2026-(109618|109619)'
rpm -q --changelog ea-php81-php-cli | grep -E 'CVE-2026-(109618|109619)'

If no match is found, investigate the package build and vendor advisory rather than assuming the fix is installed. Identify website dependencies before removing or disabling unused older PHP branches.

On cPanel, Apache can be restarted with the first command below. Restart the Apache PHP-FPM service as well if it is in use:

/scripts/restartsrv_httpd
/scripts/restartsrv_apache_php_fpm

Restart only the services relevant to your setup. Follow the appropriate vendor procedure for LiteSpeed or other runtimes. CageFS configuration rebuilds can make package installation take longer. Do not forcibly terminate a working package transaction or remove its RPM lock. Test websites afterwards. If both EA-PHP and Alt-PHP are present, verify all branches before considering the task complete.

Official repair reference: cPanel: How to resolve duplicate RPMs.

Post-update checklist

  • Check all installed PHP branches and the versions used by your websites.
  • Verify the fixes for both CVEs in the relevant packages.
  • Restart the necessary web server and PHP services.
  • Test essential website functions.
  • Maintain current backups and a migration plan for unsupported operating systems.

Hostturka support is here to help

If you need help checking PHP versions or applying updates, open a ticket through the Hostturka customer portal. Include your service, affected domain and any error message to help our team investigate. Do not post passwords or access keys in public blog comments.

Information date: 22 October 2026. Package availability can vary by operating system and distribution.

Official sources: CloudLinux PHP vulnerability and package status advisory and the CloudLinux status page.

ABOUT THE AUTHOR

Computer Programmer | Hostturka

A 2009 Kadir Has University graduate and owner of CND Medya, working in hosting, server administration, networking and web software.

Education, projects and professional background →

Copyright © 2026 All Rights Reserved
Top