CVE-2021-36042: Magento Commerce API File Option Upload Extension Improper Input Validation Vulnerability Could Lead To Remote Code Execution
Vulnerability summary
CVE-2021-36042 is a critical (CVSS 9.1) Improper Input Validation vulnerability in adobe adobe commerce. EPSS estimates a 2.47% chance of exploitation in the next 30 days, higher than 85% of scored vulnerabilities.
Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 01-09-2021PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
2.47%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.47% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-434Unrestricted Upload of File with Dangerous TypeThe product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Affected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Adobe3 products
- adobe commerce≥ 2.3.0, ≤ 2.3.7 | ≥ 2.4.0, ≤ 2.4.2 | 2.4.2:p1
- magento_commerce≥ unspecified, ≤ 2.4.2 | ≥ unspecified, ≤ 2.4.2-p1 | ≥ unspecified, ≤ 2.3.7 | ≥ unspecified, ≤ None
- magento open source≥ 2.3.0, ≤ 2.3.7 | ≥ 2.4.0, ≤ 2.4.2 | 2.4.2:p1
1 vendor · 3 products