prestashop/ps_facetedsearch: PHP Object Injection in faceted search cache allows unauthenticated RCE
Critical severity. Published 10 July 2026. Update prestashop/ps_facetedsearch to 4.0.4 or later: composer update prestashop/ps_facetedsearch.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| prestashop/ps_facetedsearch (opens in a new tab) | >= 3.0.0, < 4.0.4 | 4.0.4 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show prestashop/ps_facetedsearch
composer auditAdvisory details
| Severity | CriticalCVSS 10 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-54159 (opens in a new tab) |
| GHSA | GHSA-m5f5-28qr-9g9r (opens in a new tab) |
| Weakness | CWE-74 |
What the advisory says
Impact
A PHP Object Injection vulnerability affects the PrestaShop module psfacetedsearch.
The module rebuilds the selected search filters from the request URL. The value of a slider filter (price or weight) is taken from the URL without sufficient validation, then stored in an internal filter-block cache where it is serialized and later read back with a raw native unserialize(). By crafting that value, an attacker can smuggle a malicious serialized PHP object into the cache. When it is deserialized, a gadget chain writes an arbitrary PHP file inside the module directory, which is then used as a webshell to run commands on the server.
Who is impacted
Source: GHSA-m5f5-28qr-9g9r (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .