p PatchFirst

CVE-2026-54159

CVE-2026-54159 · ps_facetedsearch: PHP Object Injection in faceted search cache allows unauthenticated RCE

This page contains facts from public vulnerability sources. Check the original advisory before updating.

PrestaShop ps_facetedsearch is a module that adds layered navigation filters. From 3.0.0 until 4.0.4, the ps_facetedsearch module rebuilds selected search filters from the request URL, and the value of a slider filter, price or weight, is taken from the URL without sufficient validation and stored in an internal filter-block cache where it is serialized and later read back with a raw native unserialize() in src/Filters/Block.php. By crafting that value, an unauthenticated attacker can smuggle a malicious serialized PHP object into the cache, and when it is deserialized, a gadget chain writes an arbitrary PHP file inside the modules/ps_facetedsearch/ directory, which is then used as a webshell to run commands on the server. This issue is fixed in version 4.0.4.

CVSS 10.0 · Critical · EPSS 0.8% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • ps_facetedsearch

    Versions
    • >= 3.0.0, < 4.0.4: Affected

    No fix published

  • prestashop/ps_facetedsearch Packagist

    Versions
    • v3.0.0
    • v3.0.1
    • v3.0.2
    • v3.0.3
    • v3.0.4
    • v3.0.5
    • v3.0.6
    • v3.0.7
    • v3.1.0
    • v3.10.0
    • v3.11.0
    • v3.11.1
    • v3.12.0
    • v3.12.1
    • v3.13.0
    • v3.13.1
    • v3.13.2
    • v3.14.0
    • v3.14.1
    • v3.15.0
    • v3.15.1
    • v3.16.0
    • v3.16.1
    • v3.2.0
    • v3.2.1
    • v3.3.0
    • v3.4.0
    • v3.4.1
    • v3.5.0
    • v3.6.0
    • v3.7.0
    • v3.7.1
    • v3.8.0
    • v3.9.0
    • v4.0.0
    • v4.0.1
    • v4.0.2
    • v4.0.3
    Affected ranges
    • ECOSYSTEM: ≥ 3.0.0, < 4.0.4

    Update to 4.0.4

Original sources

Check your server →