CVE-2021-21016
CRITICAL9.1EPSS 4.4%Magento Commerce Unauthorized Data Modification Could Lead to Arbitrary Code Execution
Published: 5/24/2022Modified: 3/20/2026
Description
Magento versions 2.4.1 (and earlier), 2.4.0 (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 packages (3)
- Bitnami/magentofrom 0, < 2.3.6, >= 2.4.0, < 2.4.2
- Packagist/magento/community-editionfrom 0, < 2.3.6-p1
- Packagist/magento/project-community-editionfrom 0, <= 2.0.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-21016
- PATCHhttps://github.com/magento/magento2
- WEBhttps://github.com/magento/magento2/commit/a2eb7e29ea92a8bbc86c3b6b81b59d8533088497
- WEBhttps://github.com/magento/magento2/commit/a349e022c9ae070e7da262021f9ef182105aa00b
- WEBhttps://helpx.adobe.com/security/products/magento/apsb21-08.html