News · 14 July 2026

PrestaShop faceted search: critical remote code execution, update to 4.0.4

On 10 July 2026 an advisory was published for CVE-2026-54159, a critical flaw (CVSS 10) in ps_facetedsearch, the PrestaShop module behind the filters on category pages.

What it is. A PHP object injection. The module rebuilds the selected filters from the page URL. The value of a price or weight slider is taken from the URL without enough validation, stored in a cache and later read back with a raw unserialize(). By crafting that value, an unauthenticated visitor can make the shop write a PHP file in the module's directory and then run it as a webshell. According to the advisory, one crafted front-office request is enough, and it affects shops that display a filter template containing a price or weight slider.

Who is affected. Shops with ps_facetedsearch from version 3.0.0 up to 4.0.3, which the advisory says includes all versions since 3.0.0. The fix is 4.0.4.

What to do.

  1. Open the module list in the back office and read the version of Faceted search. Update to 4.0.4 or later.
  2. Do not stop at the update. Updating closes the hole but does not undo an earlier intrusion, so check for signs of use. The advisory suggests clearing the filter cache and auditing modules/ps_facetedsearch/ for unexpected PHP files. We would also look at: recently created or modified .php files in that folder, unknown files in cache/ and var/, and requests with serialized-looking data in the filter parameters in your access log.
  3. If you cannot update today, the advisory's interim measure is to remove price and weight slider filters from the templates shown on the front office. If you find anything, treat the shop as compromised: preserve a copy, change database and admin credentials, and look for other backdoors before reopening.
  4. Make module updates a routine. A stock module can be the entry point; you do not need to have installed anything unusual.

If you want us to check a shop, the triage is free and tells you in a day whether there is something to clean.

Sources:

All news