Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. prestashop/ps_facetedsearch
  4. ›
  5. CVE-2026-54159

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

July 10, 2026

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.

References

  • github.com/PrestaShop/ps_facetedsearch/security/advisories/GHSA-m5f5-28qr-9g9r
  • github.com/advisories/GHSA-m5f5-28qr-9g9r
  • nvd.nist.gov/vuln/detail/CVE-2026-54159

Code Behaviors & Features

Detect and mitigate CVE-2026-54159 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.0.0 before 4.0.4

Fixed versions

  • 4.0.4

Solution

Upgrade to version 4.0.4 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

packagist/prestashop/ps_facetedsearch/CVE-2026-54159.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:17 +0000.