Magento is affected by an os command injection via the Data collection endpoint
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 Neutralization of Special Elements Used In A Command via the Data collection endpoint. An attacker with admin privileges can upload a specially crafted file to achieve remote code execution.
References