On 21 October 2026 the PHP project published urgent security releases. They close two flaws that their discoverers dubbed php2shell, both with a CVSS score of 9.2 out of 10. PrestaShop itself is not the culprit here: the problem lies in PHP, the language your store runs on. That puts almost every PrestaShop store at risk.
Three questions to start with
- Which PHP version does my store run on? You can see it in the back office under Advanced Parameters > Information.
- Has my hosting provider installed the fix yet? Ask your hosting provider whether the fixes for CVE-2026-109618 and CVE-2026-109619 have been applied, and have them confirm it by email.
- Do I manage the server myself? Then the update is up to you. Further down you can read what to look out for.
What makes php2shell so serious?
PHP is the engine under your store: every request from a visitor goes through PHP first, and only then does PrestaShop's code get its turn. That first stage is exactly where these bugs are. They relate to the way PHP manages the memory of a request. According to the security advisory, an attacker without any login details could use them to make PHP hang, read data that should stay secret and, in the worst case, run their own code on the server.
Any setup that processes web requests with PHP is vulnerable, whether it uses PHP-FPM, php-cgi, LiteSpeed, FrankenPHP or Apache with mod_php. The PHP project rates the risk highest for mod_php.
Updating your store will not fix it
Updating PrestaShop and your modules seems the obvious move, but here it is pointless. The attack takes place in PHP, before a single line of store code runs. No module or setting in PrestaShop can stop that. Only a PHP version with the fix closes the hole.
Versions with the fix
| PHP branch | Patched from (php2shell) |
|---|---|
| PHP 8.5 | 8.5.12 |
| PHP 8.4 | 8.4.27 |
| PHP 8.3 | 8.3.36 |
| PHP 8.2 | 8.2.35 |
Note: on 19 November 2026, PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 were released with new security fixes. Preferably install those versions or newer. You will find the current releases on php.net.
Limited backports exist for PHP 7.4, 8.0 and 8.1. In addition, Linux distributions often apply a fix without raising the version number. A low number therefore does not necessarily mean your server is vulnerable, and a high number is no guarantee either. Written confirmation from your hosting provider tells you more.
Managing your own server
- Install the PHP packages with the fix from your distribution, or the official PHP releases.
- Then restart all PHP processes: PHP-FPM, Apache, LiteSpeed and any FrankenPHP workers. As long as an old process stays active, the vulnerable code keeps running.
- If you use containers, rebuild the Docker images on an updated base image and roll them out again.
Bridging the gap until the update
Can you not update right away? The security advisory describes emergency measures for system administrators, such as stricter limits on request size and disabling a particular session option in the PHP configuration. Try such changes on a test environment first. They make an attack harder, but they do not replace the update. Suppressing error messages has no effect whatsoever.
Do you use Cloudflare? Firewall rules against php2shell are active there. A web application firewall only protects traffic that passes through it, so it remains an addition to the PHP update.
Look further ahead too
If your store runs on PHP 8.1 or older, first ask your hosting provider whether your version has received a backport. Upgrading PrestaShop to a version that can handle newer PHP is not an emergency job, but do put it on the schedule: PrestaShop 9 runs on PHP 8.1 up to and including 8.5, and support for PHP 8.2 ends on 31 December 2026. For background, see the post from the PrestaShop project and the security advisory on php.net.
Help with the check
MARK-APP reviews the PHP version and configuration of your server with you, helps you with the questions for your hosting provider and plans the move to a supported PHP and PrestaShop version together with you. Take a look at our PrestaShop support or get in touch with us.
nl
en