CVE-2021-36042
HIGH 7.2CVSS 3.1Magento executes code via the API File Option Upload Extension
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 in the API File Option Upload Extension. An attacker with Admin privileges can achieve unrestricted file upload which can result in remote code execution.
- Published
- 1 Sep 2021
- Last modified
- 17 Jun 2026
- Assigned by
- psirt@adobe.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-6cwv-wj7v-73xp
- Sources
- NVDJSONOSV GHSA-6cwv-wj7v-73xpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | psirt@adobe.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | adobe | adobe_commercecpe:2.3:a:adobe:adobe_commerce:*:*:*:*:*:*:*:* |
>= 2.3.0, <= 2.3.7 | |
| NVD | adobe | adobe_commercecpe:2.3:a:adobe:adobe_commerce:*:*:*:*:*:*:*:* |
>= 2.4.0, <= 2.4.2 | |
| NVD | adobe | adobe_commercecpe:2.3:a:adobe:adobe_commerce:2.4.2:p1:*:*:*:*:*:* |
= 2.4.2 | |
| NVD | adobe | magento_open_sourcecpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:* |
>= 2.3.0, <= 2.3.7 | |
| NVD | adobe | magento_open_sourcecpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:* |
>= 2.4.0, <= 2.4.2 | |
| NVD | adobe | magento_open_sourcecpe:2.3:a:adobe:magento_open_source:2.4.2:p1:*:*:*:*:*:* |
= 2.4.2 | |
| OSV | Packagist | magento/project-community-edition | <= 2.0.2 | |
| OSV | Packagist | magento/community-edition | = 2.4.2 | |
| OSV | Packagist | magento/community-edition | >= 2.4.2-p1, < 2.4.2-p2 | 2.4.2-p2 |
| OSV | Packagist | magento/community-edition | = 2.3.7 | |
| OSV | Packagist | magento/community-edition | < 2.3.7-p1 | 2.3.7-p1 |
References
- https://helpx.adobe.com/security/products/magento/apsb21-64.html · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-36042 · ADVISORY
- https://github.com/magento/magento2 · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 1 Sep 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)