CVE-2026-54159: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in PrestaShop ps_facetedsearch
CVE-2026-54159 is a critical vulnerability in the PrestaShop ps_facetedsearch module versions 3.0.0 up to but not including 4.0.4. The module improperly handles slider filter values from the URL without sufficient validation, leading to unsafe deserialization of user-controlled data. This allows an unauthenticated attacker to inject a malicious serialized PHP object into the internal cache, which upon deserialization writes an arbitrary PHP file to the server. The malicious file can be used as a webshell to execute commands remotely. The issue is fixed in version 4.0.4.
AI Analysis
Technical Summary
The ps_facetedsearch module in PrestaShop versions >=3.0.0 and <4.0.4 rebuilds selected search filters from the request URL, including slider filter values for price or weight. These values are taken without sufficient validation and stored in an internal filter-block cache where they are serialized. Later, the cached data is read back using PHP's native unserialize() function in src/Filters/Block.php. An attacker can craft a malicious serialized PHP object to be injected into this cache. When deserialized, the object triggers a gadget chain that writes an arbitrary PHP file inside the modules/ps_facetedsearch/ directory. This file acts as a webshell, enabling remote command execution on the server. The vulnerability is addressed and fixed in version 4.0.4 of the module.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to achieve remote code execution on the affected server by writing a webshell file. This leads to full compromise of confidentiality, integrity, and availability of the system running the vulnerable PrestaShop module. The CVSS v3.1 base score is 10.0, indicating critical severity with network attack vector, no privileges required, no user interaction, and complete impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade the ps_facetedsearch module to version 4.0.4 or later, where this vulnerability is fixed. No other mitigations are indicated or effective since the issue involves unsafe deserialization of user-controlled input. Patch status is confirmed fixed in 4.0.4.
CVE-2026-54159: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in PrestaShop ps_facetedsearch
Description
CVE-2026-54159 is a critical vulnerability in the PrestaShop ps_facetedsearch module versions 3.0.0 up to but not including 4.0.4. The module improperly handles slider filter values from the URL without sufficient validation, leading to unsafe deserialization of user-controlled data. This allows an unauthenticated attacker to inject a malicious serialized PHP object into the internal cache, which upon deserialization writes an arbitrary PHP file to the server. The malicious file can be used as a webshell to execute commands remotely. The issue is fixed in version 4.0.4.
CVSS v3.1
Score 10.0critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ps_facetedsearch module in PrestaShop versions >=3.0.0 and <4.0.4 rebuilds selected search filters from the request URL, including slider filter values for price or weight. These values are taken without sufficient validation and stored in an internal filter-block cache where they are serialized. Later, the cached data is read back using PHP's native unserialize() function in src/Filters/Block.php. An attacker can craft a malicious serialized PHP object to be injected into this cache. When deserialized, the object triggers a gadget chain that writes an arbitrary PHP file inside the modules/ps_facetedsearch/ directory. This file acts as a webshell, enabling remote command execution on the server. The vulnerability is addressed and fixed in version 4.0.4 of the module.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to achieve remote code execution on the affected server by writing a webshell file. This leads to full compromise of confidentiality, integrity, and availability of the system running the vulnerable PrestaShop module. The CVSS v3.1 base score is 10.0, indicating critical severity with network attack vector, no privileges required, no user interaction, and complete impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade the ps_facetedsearch module to version 4.0.4 or later, where this vulnerability is fixed. No other mitigations are indicated or effective since the issue involves unsafe deserialization of user-controlled input. Patch status is confirmed fixed in 4.0.4.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m5f5-28qr-9g9r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-54159"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6a520eb368715ace438f514a
Added to database: 07/11/2026, 09:36:51 UTC
Last enriched: 07/25/2026, 23:07:24 UTC
Last updated: 09/03/2026, 22:52:12 UTC
Views: 177
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.