🛡️ CVE-2026-54159 — ps-facetedsearch

🔴 CVSS 10.0 — Critical ✅ No Known Exploit CWE-74 NVD
10.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

Impact

A PHP Object Injection vulnerability affects the PrestaShop module ps_facetedsearch.

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

Any shop using a vulnerable version of ps_facetedsearch that displays a filter template containing a slider filter (price or weight). Exploitation is remote and unauthenticated, a single crafted front-office request is enough, and leads to remote code

execution and full compromise of the shop and its server.

Affected versions: 3.0.0 through 4.0.3 (all versions since 3.0.0, including the latest release).

Patches

Upgrade the ps_facetedsearch module to the patched version. Upgrading the module is the best action that removes the vulnerability.

Otherwise, you can apply the fix manually in the file src/Filters/Block.php:

In the getFromCache() method, replace the native unserialize() call:

```php

// Before

if (!empty($row)) {

return unserialize(current($row));

}

// After

if (!empty($row)) {

return \Tools::unSerialize(current($row));

}

```

Until the module is upgraded:

  • Remove price and weight slider filters from the filter templates that are exposed on the

front office.

  • Clear the faceted-search filter cache, and audit the modules/ps_facetedsearch/ directory for

unexpected PHP files.

  • Monitor search requests for PHP serialization patterns (O:, ;i:, references to classes such

as Monolog\…) and block them at the WAF level.

Resources

  • Thank you to Frédéric Moreau (Antadis) and Gilles Caudal (Datalinx) for reporting this vulnerability.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

CVE-2026-54159 is classified as CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'). The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or…

Affected software

CVE-2026-54159 is recorded against 2 packages.

  • prestashop/ps-facetedsearch (from 3.0.0 up to 4.0.4)
  • unknown

Timeline and source

Published on 10 July 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com (Web)
github.com (Package)

Details

Severity CRITICAL
CVSS Score 10.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CWE CWE-74
Public Exploit ✅ No
Source NVD
Published 2026-07-10
Updated 2026-08-12
Modified 2026-07-10
Fix URL N/A

Affected Packages

Software From version Fixed in
prestashop/ps-facetedsearch 3.0.0 4.0.4
unknown

Exploit Protection

Are you running ps-facetedsearch?

CVE-2026-54159 carries CVSS 10.0 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2026-54159 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026