{"id":"CVE-2026-54159","published":"2026-07-17T20:39:25Z","modified":"2026-07-20T13:56:07Z","title":"ps_facetedsearch: PHP Object Injection in faceted search cache allows unauthenticated RCE","vendor":"PrestaShop","product":"ps_facetedsearch","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0075,"percentile":0.5587,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/PrestaShop/ps_facetedsearch/security/advisories/GHSA-m5f5-28qr-9g9r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PrestaShop/ps_facetedsearch/commit/9ca839fac68a60641d8187a3ff9730ab09af33cb","tags":["x_refsource_MISC"]},{"url":"https://github.com/PrestaShop/ps_facetedsearch/releases/tag/v4.0.4","tags":["x_refsource_MISC"]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":11.17},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"prestashop","affectedVersions":[{"vendor":"PrestaShop","product":"ps_facetedsearch","versions":[">= 3.0.0, < 4.0.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-20T13:55:55.290717Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"prestashop/ps_facetedsearch","vulnerableRanges":[">=3.0.0, <4.0.4"],"patched":["4.0.4"],"from":["GHSA-m5f5-28qr-9g9r"],"provenance":"source"}],"summary":{"text":"The ps_facetedsearch module for PrestaShop, from 3.0.0 through 4.0.4, takes slider filter values such as price or weight from the request URL and stores them in an internal filter-block cache, where they are later deserialized with a raw unserialize() call in src/Filters/Block.php. An unauthenticated remote attacker can exploit this by crafting a URL that places a malicious serialized PHP object into the cache, which, when deserialized, can write a PHP file into the module's directory and use it to execute arbitrary commands on the server; no authentication or user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:54Z"},"euvd":{"id":"EUVD-2026-45327","exploited":false,"provenance":"source"}}