CVE-2026-129957PrestaShop 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- PrestaShop: affected: before 8.2.9, 9.0.0 to before 9.2.1; fixed in
8.2.9,9.2.1
Vendor advisories:
- 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)
References
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-7q68-ch46-pxmc
- https://github.com/PrestaShop/PrestaShop/commit/446da0c02b8ad9bcbdd61f5791d8e551dfab1150
- https://github.com/PrestaShop/PrestaShop/commit/c1087264a329cdafb34b1ddbb368972043fd696e
- https://github.com/PrestaShop/PrestaShop/commit/63ffaf0a1c48638970e12a4d1c23d7272db6b84f
- https://github.com/PrestaShop/PrestaShop/commit/ff100164be70b573c9beb059fc828189e934479c
- https://github.com/PrestaShop/PrestaShop/releases/tag/9.2.1
- https://github.com/PrestaShop/PrestaShop/releases/tag/8.2.9
- 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://www.vulncheck.com/advisories/prestashop-before-8.2.9-and-9.2.1-path-traversal-rce-via-theme-module-import
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.