{"answers":{"affected":"2 open source packages ship an affected version, including prestashop/ps_facetedsearch.","exploited":"There is no known exploitation of CVE-2026-54159 in the wild and no public exploit code.","fix":"Upgrade prestashop/ps_facetedsearch to 4.0.4 or later.","what":"CVE-2026-54159 is a critical unsafe deserialization vulnerability in PrestaShop ps_facetedsearch, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54159 and fix it if it is affected.\n\nWhat it is: CVE-2026-54159 is a critical unsafe deserialization vulnerability in PrestaShop ps_facetedsearch, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-54159 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- prestashop/ps_facetedsearch (Packagist): affected from 3.0.0; fixed in 4.0.4\n- prestashop/ps_facetedsearch (Packagist): affected from 3.0.0; fixed in 4.0.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54159/ (Markdown: https://insights.sbomify.com/CVE-2026-54159/index.md)","id":"CVE-2026-54159","markdown":"https://insights.sbomify.com/CVE-2026-54159/index.md","name":"CVE-2026-54159","record":{"aliases":["GHSA-m5f5-28qr-9g9r"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PrestaShop module","requires_auth":"none","summary":"Unauthenticated attackers can achieve remote code execution by injecting malicious serialized PHP objects into the faceted search cache.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ps_facetedsearch: PHP Object Injection in faceted search cache allows unauthenticated RCE","id":"CVE-2026-54159","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Network UPS Tools: A PWN Request in make-dist workflow can execute PR-controlled code with write-scoped GITHUB_TOKEN","id":"CVE-2026-54160"},"packages":[{"ecosystem":"Packagist","fixed":["4.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"prestashop/ps_facetedsearch","purl":null,"source":"GHSA-m5f5-28qr-9g9r"},{"ecosystem":"Packagist","fixed":["4.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"prestashop/ps_facetedsearch","purl":"pkg:composer/prestashop/ps_facetedsearch","source":"GHSA-m5f5-28qr-9g9r"}],"prev":{"headline":"SiYuan: Stored XSS to RCE via attribute-view cell rendering in genAVValueHTML()","id":"CVE-2026-54158"},"products":["ps_facetedsearch"],"published":"2026-07-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-20","vendors":["PrestaShop"]},"summary":"Unauthenticated attackers can achieve remote code execution by injecting malicious serialized PHP objects into the faceted search cache.","url":"https://insights.sbomify.com/CVE-2026-54159/"}