Description
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.
Metrics
CVSS 3.1 7.2/10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| PrestaShop | PrestaShop | < 8.2.9; >= 9.0.0, < 9.2.1 |
References
- https://github.com/PrestaShop/PrestaShop/blob/9.1.5/src/Core/Addon/Theme/ThemeManager.php#L404-L470
- https://github.com/PrestaShop/PrestaShop/blob/9.1.5/src/Core/Module/SourceHandler/ZipSourceHandler.php#L68-L78
- https://github.com/PrestaShop/PrestaShop/commit/446da0c02b8ad9bcbdd61f5791d8e551dfab1150
- https://github.com/PrestaShop/PrestaShop/commit/63ffaf0a1c48638970e12a4d1c23d7272db6b84f
- https://github.com/PrestaShop/PrestaShop/commit/c1087264a329cdafb34b1ddbb368972043fd696e
- https://github.com/PrestaShop/PrestaShop/commit/ff100164be70b573c9beb059fc828189e934479c
- https://github.com/PrestaShop/PrestaShop/releases/tag/8.2.9
- https://github.com/PrestaShop/PrestaShop/releases/tag/9.2.1
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-7q68-ch46-pxmc
- https://www.vulncheck.com/advisories/prestashop-before-8.2.9-and-9.2.1-path-traversal-rce-via-theme-module-import
Timeline
- Published
- Nov 16, 2026
- Last modified
- Nov 16, 2026
- NVD status
- Deferred