{"id":"CVE-2021-36040","published":"2021-09-01T14:31:07Z","modified":"2024-09-17T01:35:35Z","title":"Magento Commerce Improper Input Validation 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 an improper input validation vulnerability. An attacker with admin privileges can upload a specially crafted file to bypass file extension restrictions and could lead to remote code execution.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02867,"percentile":0.87114,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://helpx.adobe.com/security/products/magento/apsb21-64.html","tags":["x_refsource_MISC"]}],"priority":{"score":23.8,"factors":[{"name":"EPSS percentile","points":17.42},{"name":"CVSS severity","points":6.37}]},"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-2pq5-gpqf-g4r3"],"provenance":"source"},{"ecosystem":"Packagist","package":"magento/community-edition","vulnerableRanges":[">=2.4.2-p1, <2.4.2-p2","<2.3.7-p1"],"patched":["2.4.2-p2","2.3.7-p1"],"from":["GHSA-2pq5-gpqf-g4r3"],"provenance":"source"}],"summary":{"text":"The flaw is an improper input validation weakness in the Magento Commerce product from Adobe, specifically in how it handles uploaded files. An attacker who already holds admin privileges can upload a specially crafted file that bypasses file extension restrictions, which could lead to remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:37:43Z"},"euvd":{"id":"EUVD-2021-22673","exploited":false,"provenance":"source"}}