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.
Severity (CVSS)
| Base score | 8.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PrestaShop | PrestaShop | 0 to <8.2.9 [affected]; 9.0.0 to <9.2.1 [affected] |
References
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-7q68-ch46-pxmc (vendor-advisory)
- https://github.com/PrestaShop/PrestaShop/commit/446da0c02b8ad9bcbdd61f5791d8e551dfab1150 (patch)
- https://github.com/PrestaShop/PrestaShop/commit/c1087264a329cdafb34b1ddbb368972043fd696e (patch)
- https://github.com/PrestaShop/PrestaShop/commit/63ffaf0a1c48638970e12a4d1c23d7272db6b84f (patch)
- https://github.com/PrestaShop/PrestaShop/commit/ff100164be70b573c9beb059fc828189e934479c (patch)
- https://github.com/PrestaShop/PrestaShop/releases/tag/9.2.1 (release-notes)
- https://github.com/PrestaShop/PrestaShop/releases/tag/8.2.9 (release-notes)
- https://github.com/PrestaShop/PrestaShop/blob/9.1.5/src/Core/Addon/Theme/ThemeManager.php#L404-L470 (technical-description)
- https://github.com/PrestaShop/PrestaShop/blob/9.1.5/src/Core/Module/SourceHandler/ZipSourceHandler.php#L68-L78 (technical-description)
- https://www.vulncheck.com/advisories/prestashop-before-8.2.9-and-9.2.1-path-traversal-rce-via-theme-module-import (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 17 Nov 2026 08:04 UTC.