# prestashop/ps_facetedsearch: PHP Object Injection in faceted search cache allows unauthenticated RCE

Critical severity, published 2026-07-10. Update prestashop/ps_facetedsearch to 4.0.4 or later: composer update prestashop/ps_facetedsearch.

Canonical URL: https://buzzphp.com/security/ghsa-m5f5-28qr-9g9r · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical (CVSS 10) |
| Published | 2026-07-10 |
| Updated | 2026-07-10 |
| CVE | [CVE-2026-54159](https://nvd.nist.gov/vuln/detail/CVE-2026-54159) |
| GHSA | [GHSA-m5f5-28qr-9g9r](https://github.com/advisories/GHSA-m5f5-28qr-9g9r) |
| Weakness | CWE-74 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| prestashop/ps_facetedsearch | >= 3.0.0, < 4.0.4 | 4.0.4 |

## What to do

Update prestashop/ps_facetedsearch to 4.0.4 or later: composer update prestashop/ps_facetedsearch.

Check which version you run with `composer show prestashop/ps_facetedsearch`, and every affected package with `composer audit`.

## About this advisory

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



## Links

- [GHSA-m5f5-28qr-9g9r on GitHub](https://github.com/advisories/GHSA-m5f5-28qr-9g9r)
- [CVE-2026-54159 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-54159)
- [All Composer security advisories](https://buzzphp.com/security)
