CVE-2021-21016: Magento
Critical severity, CVSS 9.1. EPSS: 4.9% chance of exploitation in the next 30 days.
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to OS command injection via the WebAPI. Successful exploitation could lead to remote code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.
Affected products
- Magento Magento: before 2.3.6 (fixed in 2.3.6); version 2.3.6 only; version 2.4.0 only; version 2.4.1 only
Published 2021-02-11. Last modified 2026-06-17.