Description
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.
Published: 2026-07-17
Score: 10 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in the ps_facetedsearch module is a PHP Object Injection flaw that originates from the module’s handling of filter values supplied through the request URL. Without proper validation, these values are stored in a cached block serialized with PHP’s native serialize, and later deserialized with unserialize. An attacker can craft a serialized PHP object that, when deserialized, triggers a gadget chain to write an arbitrary PHP file into the modules/ps_facetedsearch/ directory, effectively creating a webshell that could run any command on the server. This flaw allows an unauthenticated user to gain full remote code execution on a vulnerable installation.

Affected Systems

Affected versions of the PrestaShop ps_facetedsearch module from 3.0.0 through 4.0.4. Any shop that has installed the module in those versions and has not yet applied the fix is at risk. The product is specifically the PrestaShop ps_facetedsearch module, which provides layered navigation filters for the e‑commerce platform.

Risk and Exploitability

The CVSS score of 10 indicates a high severity, and the flaw permits remote actions with no authentication or privileges. Although the EPSS score is listed as < 1 %, suggesting a currently low probability of exploitation, the inherent risk of high impact remains unchanged. The likely attack vector is via a crafted URL supplied to the shop’s public web interface; the payload is then stored in the module’s internal cache and deserialized during subsequent requests. Because the vulnerability allows arbitrary file creation and execution, the threat to confidentiality, integrity, and availability is complete and direct.

Generated by OpenCVE AI on July 30, 2026 at 23:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the ps_facetedsearch module to version 4.0.4 or later, which contains the patch that properly validates filter values before serialization.
  • If upgrading is not immediately possible, remove or uninstall the vulnerable module from the PrestaShop installation until a fix can be implemented.
  • Apply a web application firewall rule or request filter that blocks URLs containing serialized PHP objects to prevent exploitation until a patch is applied.

Generated by OpenCVE AI on July 30, 2026 at 23:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-m5f5-28qr-9g9r prestashop/ps_facetedsearch: PHP Object Injection in faceted search cache allows unauthenticated RCE
History

Tue, 28 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Prestashop
Prestashop faceted Search Module
Vendors & Products Prestashop
Prestashop faceted Search Module

Mon, 20 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
Description 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.
Title ps_facetedsearch: PHP Object Injection in faceted search cache allows unauthenticated RCE
Weaknesses CWE-74
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Prestashop Faceted Search Module
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-20T13:56:07.400Z

Reserved: 2026-06-11T21:46:52.380Z

Link: CVE-2026-54159

cve-icon Vulnrichment

Updated: 2026-07-20T13:56:02.908Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T23:30:08Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')