{"id":"GHSA-8frp-pxq2-3gpq","aliases":["CVE-2024-39401"],"title":"Magento OS Command ('OS Command Injection') vulnerability","description":"Magento versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and earlier are affected by an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability that could lead in arbitrary code execution by an admin attacker. Exploitation of this issue requires user interaction and scope is changed.","severity":"high","score":8.4,"published":"2024-08-14T12:35:01.000Z","modified":"2025-11-06T17:27:41.808Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"magento/project-community-edition","ranges":[{"events":[{"introduced":"0"},{"last_affected":"2.0.2"}],"type":"ECOSYSTEM"}],"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-beta10","0.42.0-beta11","0.42.0-beta2","0.42.0-beta3","0.42.0-beta4","0.42.0-beta5","0.42.0-beta6","0.42.0-beta7","0.42.0-beta8","0.42.0-beta9","0.74.0-beta1","0.74.0-beta10","0.74.0-beta11","0.74.0-beta12","0.74.0-beta13","0.74.0-beta14","0.74.0-beta15","0.74.0-beta16","0.74.0-beta2","0.74.0-beta3","0.74.0-beta4","0.74.0-beta5","0.74.0-beta6","0.74.0-beta7","0.74.0-beta8","0.74.0-beta9","1.0.0-beta","2.0.0","2.0.0-rc","2.0.0-rc2","2.0.1","2.0.2"],"fixed":[]},{"ecosystem":"Packagist","name":"magento/community-edition","ranges":[{"events":[{"introduced":"2.4.7-beta1"},{"fixed":"2.4.7-p2"}],"type":"ECOSYSTEM"}],"versions":["2.4.7","2.4.7-beta1","2.4.7-beta2","2.4.7-beta3","2.4.7-p1"],"fixed":["2.4.7-p2"]},{"ecosystem":"Packagist","name":"magento/community-edition","ranges":[{"events":[{"introduced":"2.4.6-p1"},{"fixed":"2.4.6-p7"}],"type":"ECOSYSTEM"}],"versions":["2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6"],"fixed":["2.4.6-p7"]},{"ecosystem":"Packagist","name":"magento/community-edition","ranges":[{"events":[{"introduced":"2.4.5-p1"},{"fixed":"2.4.5-p9"}],"type":"ECOSYSTEM"}],"versions":["2.4.5-p1","2.4.5-p2","2.4.5-p3","2.4.5-p4","2.4.5-p5","2.4.5-p6","2.4.5-p7","2.4.5-p8"],"fixed":["2.4.5-p9"]},{"ecosystem":"Packagist","name":"magento/community-edition","ranges":[{"events":[{"introduced":"2.4.4-p1"},{"fixed":"2.4.4-p10"}],"type":"ECOSYSTEM"}],"versions":["2.4.4-p1","2.4.4-p2","2.4.4-p3","2.4.4-p4","2.4.4-p5","2.4.4-p6","2.4.4-p7","2.4.4-p8","2.4.4-p9"],"fixed":["2.4.4-p10"]},{"ecosystem":"Packagist","name":"magento/community-edition","ranges":[],"versions":["2.4.7"],"fixed":[]},{"ecosystem":"Packagist","name":"magento/community-edition","ranges":[],"versions":["2.4.6"],"fixed":[]},{"ecosystem":"Packagist","name":"magento/community-edition","ranges":[],"versions":["2.4.5"],"fixed":[]},{"ecosystem":"Packagist","name":"magento/community-edition","ranges":[],"versions":["2.4.4"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-39401","https://github.com/magento/magento2","https://helpx.adobe.com/security/products/magento/apsb24-61.html"],"sources":[{"name":"OSV","id":"GHSA-8frp-pxq2-3gpq","modified":"2025-11-06T17:27:41.808827Z","url":"https://osv.dev/vulnerability/GHSA-8frp-pxq2-3gpq"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","score":8.4}]}