{"id":"CVE-2021-21014","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.","aliases":["BIT-magento-2021-21014","GHSA-269w-pqc7-68q9"],"modified":"2026-04-10T04:29:28.539922Z","published":"2021-02-11T21:15:12.540Z","references":[{"type":"ADVISORY","url":"https://helpx.adobe.com/security/products/magento/apsb21-08.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/magento/devdocs","events":[{"introduced":"0"},{"fixed":"9eba2c99bed83d8297c03b7ea3b110500cc5b955"},{"introduced":"0"},{"fixed":"9eba2c99bed83d8297c03b7ea3b110500cc5b955"},{"introduced":"0"},{"last_affected":"9eba2c99bed83d8297c03b7ea3b110500cc5b955"},{"introduced":"0"},{"last_affected":"9eba2c99bed83d8297c03b7ea3b110500cc5b955"},{"introduced":"0"},{"last_affected":"9eba2c99bed83d8297c03b7ea3b110500cc5b955"},{"introduced":"0"},{"last_affected":"9eba2c99bed83d8297c03b7ea3b110500cc5b955"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.3.6"},{"introduced":"0"},{"fixed":"2.3.6"},{"introduced":"0"},{"last_affected":"2.3.6-NA"},{"introduced":"0"},{"last_affected":"2.3.6-NA"},{"introduced":"0"},{"last_affected":"2.4.1-NA"},{"introduced":"0"},{"last_affected":"2.4.1-NA"}]}},{"type":"GIT","repo":"https://github.com/magento/magento2","events":[{"introduced":"0"},{"last_affected":"6729b6e01368248abc33300208eb292c95050203"},{"introduced":"0"},{"last_affected":"6729b6e01368248abc33300208eb292c95050203"},{"introduced":"0"},{"last_affected":"e15fcef0c71b5f25ed3d50f41586d70c45c2cb42"},{"introduced":"0"},{"last_affected":"e15fcef0c71b5f25ed3d50f41586d70c45c2cb42"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.4.0-NA"},{"introduced":"0"},{"last_affected":"2.4.0-NA"},{"introduced":"0"},{"last_affected":"2.4.0-p1"},{"introduced":"0"},{"last_affected":"2.4.0-p1"}]}}],"versions":["0.1.0-alpha100","0.1.0-alpha101","0.1.0-alpha102","0.1.0-alpha103","0.1.0-alpha104","0.1.0-alpha105","0.1.0-alpha106","0.1.0-alpha107","0.1.0-alpha108","0.1.0-alpha89","0.1.0-alpha90","0.1.0-alpha91","0.1.0-alpha92","0.1.0-alpha93","0.1.0-alpha94","0.1.0-alpha95","0.1.0-alpha96","0.1.0-alpha97","0.1.0-alpha98","0.1.0-alpha99","0.42.0-beta1","0.42.0-beta3","0.74.0-beta1","1.x-eos","2.0.0","2.0.0-rc","2.0.8","2.1.0","2.1.0-rc1","2.1.0-rc2","2.1.0-rc3","2.1.14","2.1.15","2.1.16","2.1.17","2.1.18","2.2.0-RC1.1","2.2.0-RC1.2","2.2.0-RC1.3","2.2.11","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.3.0","2.3.1","2.3.2","2.3.3-p1","2.3.4","2.3.5","2.3.6-p1","2.4.0","2.4.0-p1","2.4.1-p1","2.4.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21014.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}