{"id":"CVE-2021-21014","aliases":["BIT-magento-2021-21014","GHSA-269w-pqc7-68q9"],"url":"https://o3.security/vulnerability/CVE-2021-21014","summary":"Magento vulnerable to a file upload restriction bypass","details":"Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to a file upload restriction bypass. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.","published":"2021-02-11T21:15:12.540Z","modified":"2026-07-09T00:22:23.284088Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.3.6-p1"},{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.4.2"},{"ecosystem":"Packagist","name":"magento/project-community-edition","fixedVersion":null}],"fix":{"url":"https://github.com/magento/magento2/commit/a2eb7e29ea92a8bbc86c3b6b81b59d8533088497","label":"magento/magento2@a2eb7e2"},"references":[{"type":"ADVISORY","url":"https://helpx.adobe.com/security/products/magento/apsb21-08.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21014"},{"type":"WEB","url":"https://github.com/magento/magento2/commit/a2eb7e29ea92a8bbc86c3b6b81b59d8533088497"},{"type":"WEB","url":"https://github.com/magento/magento2/commit/a349e022c9ae070e7da262021f9ef182105aa00b"},{"type":"PACKAGE","url":"https://github.com/magento/magento2"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T00:22:23.284088Z"}}