Magento affected by remote code execution via a file upload
High severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Nov 7, 2025
Description
Published by the National Vulnerability Database
Sep 1, 2021
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Nov 7, 2025
Last updated
Nov 7, 2025
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 achieve remote code execution.
References