On 21 October PHP released an emergency patch. If you have a PrestaShop shop, it affects you, even if your shop is perfectly up to date and you have not touched anything.
We are going to explain it without jargon and with what you really need to know: what has happened, how to tell in two minutes whether your shop is covered, and what to do if it is not.
What has happened, in one sentence
Two serious flaws have been found in PHP, the language PrestaShop runs on. They have been named php2shell and are registered as CVE-2026-109618 and CVE-2026-109619. The PHP security team has rated their severity at 9.2 out of 10.
In practice, both allow the same thing: someone from outside running code on your server without any password. From there they can read your data, modify the shop or leave hidden files.
And there is a fact that is worth not overlooking: it was already being exploited before it was made public. Amazon detected the first attempt against its honeypot systems on 17 October, four days before the patch existed.
The first thing to understand: this is not a PrestaShop flaw
It is the most common confusion we are seeing these days, and it is worth clearing up before going any further.
The flaw is in PHP, not in PrestaShop or your modules. The attack happens before a single line of your shop’s code runs. That is why:
- Updating PrestaShop does not fix it.
- Updating the modules does not fix it.
- There is not, and will not be, a PrestaShop security patch for this.
- Changing the error settings does not help either.
The only thing that closes the hole is a fixed version of PHP on the server. And that is where this gets complicated for many people, as you will see in a moment.
How to know whether your shop is covered

1. Check which PHP version your shop has
Go into the back office and open Advanced Parameters and, inside it, Information. In the server information block you will see a line that says “PHP version” with a number next to it. That number is what matters. You do not need to change anything, just look at it.
2. Compare it with the list of fixed versions
These are the versions that include the patch:
- PHP 8.5.12
- PHP 8.4.27
- PHP 8.3.36
- PHP 8.2.35
If your number is equal or higher within its branch, you are covered. If you see 8.1 or anything below, you are not, because for those branches PHP has not released new versions, only some loose code patches that most shared hosting providers do not apply.
3. Ask your hosting provider in writing
There is a detail here that throws people off: some Linux distributions fix the flaw without changing the version number. In other words, you may be seeing 8.3.30 and be protected, or not. That is why the only reliable answer is from whoever manages the server.
Write them something as simple as this:
Have you applied the fix for CVE-2026-109618 and CVE-2026-109619 on the server hosting my domain? Can you confirm it in writing?
If the answer is slow or ambiguous, insist. It is a yes or no question.
4. If you cannot upgrade PHP, check your PrestaShop version
And here comes the uncomfortable part.
If your shop is PrestaShop 1.6, 1.7 or 8, the problem is not your server
Each PrestaShop version only works with certain PHP versions. If you cross that list with the list of patched versions, this is what you get:

Read it calmly, because it matters:
- PrestaShop 1.6 works up to PHP 7.1. No PHP 7.1 version has the patch.
- PrestaShop 1.7, in any of its versions, does not support PHP 8. It stays at 7.4 at most, and 7.4 does not have the patch either.
- PrestaShop 8.0, 8.1 and 8.2 go up to PHP 8.1. PrestaShop’s own documentation marks PHP 8.2 and above as unsupported. And PHP 8.1 has no patch either.
- PrestaShop 9.0 works with PHP 8.1 to 8.4, and 9.1 and 9.2 go up to 8.5. There, fixed versions do exist.
The conclusion is harsh but it is what it is: below PrestaShop 9 there is no PHP version that is both patched and supported by your shop.
If your hosting provider tells you they cannot upgrade your PHP, it is probably not that they do not want to. It is that if they upgrade it, your shop stops working.
And in the meantime, what do I do?
If you are in that situation and updating PrestaShop is not something you can do this week, there are measures that reduce the risk without closing it completely. Pass this on to whoever runs your server, and have them test it first in a staging environment:
- Lower the maximum request size. Set
post_max_sizeto 8M if the shop does not receive file uploads, or to 32M if it does, and keepupload_max_filesizebelow it. - Disable session upload progress tracking, which is on by default:
session.upload_progress.enabled=0. And then restart all PHP processes, which is the step most often forgotten. - Put a web application firewall in front, such as Cloudflare, with the php2shell rules in blocking mode and making sure the server only accepts traffic coming through it.
None of the three replaces the patch. They are for buying time, not for staying there.
If after a PHP version change the shop shows a 500 error, here we explain how to find the cause of a 500 error without breaking the shop further.
One more thing worth knowing
PHP 8.2 stops receiving support on 31 December 2026. If you are thinking about upgrading and are going to make the effort, do not stop at 8.2: in two months you will be in the same situation again.
Questions people are asking us these days
My shop is small, who would want to attack it?
Nobody in particular, and that is exactly the problem. This is not attacked by hand: there are programs that scan the whole internet testing servers one after another. They do not choose, they try. Your shop having low turnover does not make it less interesting to an automated program looking for servers to host its own content.
I have an SSL certificate and a security plugin, is that not enough?
No. The certificate encrypts the connection, which is a different thing. And a security plugin lives inside PrestaShop, that is, inside the house the attacker gets into before even knocking on the door.
How do I know whether they have already got in?
The signs we see most are new .php files in folders that should only contain images, pages that appear on Google that you did not create, emails sent from your domain that you did not send, and odd traffic spikes in the server log. If you see any of them, the first thing is not to delete: it is to make a copy of the current state so you can find out how they got in.
Is updating PrestaShop very risky?
It depends on how many third-party modules and how much custom development you have. What cannot be done is update directly on the shop that is selling. You set up a separate copy, update it there, check everything works, and only then switch over. We cover it in detail in updating PrestaShop without losing sales, data or rankings (in Spanish).
What changes when moving to version 9 and what to check beforehand is in PrestaShop 9: what is new and what to check, and the full procedure in how to update PrestaShop step by step.
What we are doing
With our PrestaShop maintenance and technical support (in Spanish) clients, this has already been checked shop by shop. It is exactly the kind of thing maintenance exists for: someone who finds out, checks it and warns you before you hear about it elsewhere.
If we do not look after your shop and you are not sure where you stand, we will look at it from the outside and tell you. You do not need to give us access to anything or hire anything: your shop’s address is enough for us to tell you which PHP version you are serving and which PrestaShop version you have.
Write to us from the contact page (in Spanish) and we will reply the same day. If you would rather talk it over directly, you can book half an hour yourself whenever suits you.
Is this happening to you right now?
Leave us the URL and what you are seeing. A technician will look at it today and tell you what it is before touching anything.
Received. We reply within 24 working hours.