CVE-2021-21016
highpriority · track · 38EPSS 0.049 · 92 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.7–9.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (18)
Products and version ranges known to be affected.
- Packagist magento/project-community-edition≤ 2.0.2osvUSpkg:composer/magento/project-community-edition
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-792f-c8mp-2cr5Magento OS command injection via the WebAPI2022-05-24ghsa · osvUS
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.
- BIT-magento-2021-21016Magento Commerce Unauthorized Data Modification Could Lead to Arbitrary Code Execution2024-03-06vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://helpx.adobe.com/security/products/magento/apsb21-08.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-21016cnnvd
- https://vigilance.fr/vulnerability/Magento-Commerce-OpenSource-multiple-vulnerabilities-34525cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0444cnnvd
- https://helpx.adobe.com/security/products/magento/apsb21-08.htmlenisa_euvd
- https://helpx.adobe.com/security/products/magento/apsb21-08.htmlVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan