{"id":"CVE-2021-36041","aliases":["GHSA-mx5m-j5xr-jg8c"],"url":"https://o3.security/vulnerability/CVE-2021-36041","summary":"Magento vulnerable to file upload attack","details":"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 could upload a specially crafted file in the 'pub/media` directory could lead to remote code execution.","published":"2021-09-01T15:15:10.173Z","modified":"2026-07-08T05:59:46.129995872Z","cvss":{"score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"magento/project-community-edition","fixedVersion":null},{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.3.7-p1"},{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":null},{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.4.2-p2"},{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":null}],"fix":null,"references":[{"type":"FIX","url":"https://helpx.adobe.com/security/products/magento/apsb21-64.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36041"},{"type":"PACKAGE","url":"https://github.com/magento/magento2"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:59:46.129995872Z"}}