CVE-2021-36042 json
Magento Commerce API File Option Upload Extension Improper Input Validation Vulnerability Could Lead To Remote Code Execution
published 2021-09-01 5 y ago modified 2026-06-17 4 mo ago also GHSA-6cwv-wj7v-73xp , EUVD-2021-22675
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist magento/community-edition 2.3.7-p1, 2.4.2-p2
Exploit prediction
2.47% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | magento/project-community-edition | <=2.0.2 |
no fix listed |
| packagist | magento/community-edition | 1 listed version >=2.4.2-p1, <2.4.2-p2 <2.3.7-p1 |
2.4.2-p2 2.3.7-p1 |
Affected products
- Adobe Magento Commerce
Classification
References
-
helpx.adobe.com
/security/products/magento/apsb21-64.html
web, patch, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-36042
advisory
-
github.com
/magento/magento2
package
Sources
- CVE List CVE-2021-36042
- GitHub Advisory GHSA-6cwv-wj7v-73xp
- NVD CVE-2021-36042
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.