{"id":"CVE-2021-36031","published":"2021-09-01T14:30:35Z","modified":"2024-09-17T03:02:41Z","title":"Magento Commerce Path Traversal In `theme[preview_image]` Parameter Could Lead To Remote Code Execution","vendor":"Adobe","product":"Magento Commerce","tier":"tail","description":{"text":"Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by a Path Traversal vulnerability via the `theme[preview_image]` parameter. An attacker with admin privileges could leverage this vulnerability to achieve remote code execution.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02937,"percentile":0.87434,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://helpx.adobe.com/security/products/magento/apsb21-64.html","tags":["x_refsource_MISC"]}],"priority":{"score":22.5,"factors":[{"name":"EPSS percentile","points":17.49},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"adobe","affectedVersions":[{"vendor":"Adobe","product":"Magento Commerce","versions":[">= unspecified, <= 2.4.2",">= unspecified, <= 2.4.2-p1",">= unspecified, <= 2.3.7",">= unspecified, <= None"]}],"affected":[{"ecosystem":"Packagist","package":"magento/project-community-edition","vulnerableRanges":["<=2.0.2"],"patched":[],"from":["GHSA-7w95-qwhh-q9p3"],"provenance":"source"},{"ecosystem":"Packagist","package":"magento/community-edition","vulnerableRanges":["<2.3.7-p1",">=2.4.2-p1, <2.4.2-p2"],"patched":["2.3.7-p1","2.4.2-p2"],"from":["GHSA-7w95-qwhh-q9p3"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the theme[preview_image] parameter of Adobe's Magento Commerce platform allows files to be accessed outside their intended directory. An attacker with administrator privileges, reachable over the network, can exploit it to achieve remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:43:58Z"},"euvd":{"id":"EUVD-2021-22664","exploited":false,"provenance":"source"}}