CVE-2026-129957: PrestaShop before 8.2.9 and 9.2.1 Path Traversal RCE via Theme/Module Import
PrestaShop before 8.2.9 and 9.0.0 before 9.2.1 contains a path traversal vulnerability in back-office theme and module archive import that allows authenticated employees to write files outside intended directories. Attackers can craft a theme name in config/theme.yml or upload a module archive extracted before validation to place PHP files in web-accessible locations and execute code.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.2.9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.2.1
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated PrestaShop employee is required. The vulnerable functionality is in back-office theme and module archive imports.
What access and attacker-controlled content are needed for code execution?
The attacker needs to import a crafted theme or module archive. A theme can use a crafted name in config/theme.yml, while a module archive can be extracted before validation, allowing PHP files to be written to web-accessible locations and executed.
Which versions need to be remediated?
PrestaShop versions before 8.2.9 are affected, as are 9.0.0 through versions before 9.2.1. Upgrade to 8.2.9 or 9.2.1 as applicable.