PHP2Shell: critical PHP security vulnerabilities – act now
Operators of modified eCommerce shops should urgently check that their PHP version and shop are up to date.
Critical PHP vulnerabilities known as PHP2Shell have recently come to light which, under certain conditions, may allow remote code execution without prior authentication. In the worst case, an attacker could execute their own code on the web server and completely compromise a shop.
What is PHP2Shell?
The name PHP2Shell refers to two critical vulnerabilities in the PHP core: CVE-2026-109618 and CVE-2026-109619. They affect the PHP runtime environment used by numerous websites and online shops, rather than just a single shop application or extension.
According to the PHP project, the vulnerabilities may allow unauthenticated remote code execution. Affected systems include PHP installations that process web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. In certain configurations, an attack can begin before the shop's actual application code is executed.
A particular concern is that exploitation does not necessarily leave visible changes in the shop. Simply looking for suspicious files or web shells is therefore insufficient. The most important protection is to use an up-to-date, patched PHP version.
Our recommendation
Check promptly which PHP version is running on your server and install available security updates. Temporary configuration measures can reduce the risk, but they do not replace a PHP update.
Which PHP versions contain the security update?
The PHP project released security updates for the affected PHP branches on 21 October 2026. The vulnerabilities CVE-2026-109618 and CVE-2026-109619 are fixed in the following versions:
| PHP branch | Minimum secure version | Assessment |
|---|---|---|
| PHP 8.2 | 8.2.35 or later | Security update included |
| PHP 8.3 | 8.3.36 or later | Security update included |
| PHP 8.4 | 8.4.27 or later | Security update included |
| PHP 8.5 | 8.5.12 or later | Security update included |
For example, if PHP 8.4.26 is in use, the official PHP2Shell fix is not yet included. The affected PHP 8.4 branch is patched from PHP 8.4.27 onwards. Similarly, PHP 8.3 requires at least 8.3.36, PHP 8.2 at least 8.2.35 and PHP 8.5 at least 8.5.12.
PHP 8.1 and earlier versions no longer receive regular security updates from the official PHP project. However, individual Linux distributions or LTS providers may backport security fixes to older package versions. In such cases, the security status cannot be assessed solely from the displayed PHP version number. If necessary, ask your hosting provider whether their PHP package includes the PHP2Shell fixes for CVE-2026-109618 and CVE-2026-109619.
The PHP project explicitly states that there is no complete configuration workaround for these vulnerabilities. Updating to a patched PHP version or obtaining a confirmed security backport from the server provider is therefore the decisive measure.
For shop operators, this means keeping more than PHP itself up to date. The modified eCommerce Shopsoftware in use, along with installed modules and extensions, should also be updated regularly so that modern, actively maintained PHP versions can be used.
Why an up-to-date modified shop is so important
Outdated shop versions often force operators to keep using older PHP versions because customisations, templates or extensions are incompatible with current PHP releases.
This is precisely where a security risk arises: if the shop can no longer technically run on current PHP versions, important security updates may be missed. The shop software should therefore be updated regularly.
New modified versions improve compatibility, stability and security.
Supported PHP versions receive important security fixes.
Extensions and customisations must also remain compatible with PHP.
Checksum, malware and file permission checks help detect tampering.
What shop operators should do now
- Check the PHP version in use
- Install available PHP security updates
- Check that modified eCommerce Shopsoftware is up to date
- Review installed modules and customisations
- Run a checksum and malware scan
- Investigate suspicious file changes and unusual server activity
- Ensure regular backups and updates
Important
A malware or checksum scanner can detect suspicious files and subsequent tampering. However, it cannot guarantee that a server has not already been compromised through a vulnerability. Security updates for PHP and the shop software therefore remain essential.
Support with modified eCommerce Shopsoftware updates
Is your modified eCommerce Shopsoftware still running on an older version, or is switching to a current PHP version not straightforward?
We will be happy to help you update your modified eCommerce shop. On request, we also check existing modules, templates and customisations for compatibility and bring your shop onto an up-to-date technical foundation.
This creates the conditions needed to use current PHP versions that continue to receive security maintenance.
Shop outdated or unable to update PHP?
Get in touch. We can help with updates, PHP compatibility and the technical modernisation of your modified eCommerce shop.
Contact us now