CVE-2021-36036: Magento Commerce Media Gallery Upload Improper Access Control Could Lead To Remote Code Execution
Vulnerability summary
CVE-2021-36036 is a high (CVSS 7.2) Improper Access Control vulnerability in adobe adobe commerce. EPSS estimates a 2.05% chance of exploitation in the next 30 days, higher than 81.8% of scored vulnerabilities.
Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 06-09-2023PublishedVulnerability first disclosed.
- 27-02-2025Last modifiedVulnerability information updated.
Description
Magento versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an improper access control vulnerability within Magento's Media Gallery Upload workflow. By storing a specially crafted file in the website gallery, an authenticated attacker with administrative privilege can gain access to delete the .htaccess file. This could result in the attacker achieving remote code execution.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.05%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
Decrease -0.07 pp
From 2.12% 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 causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Adobe1 product
- adobe commerce≤ 2.3.7
Magento1 product
- magentoEOL< 2.3.7 | ≥ 2.4.0, < 2.4.2 | 2.3.7 | 2.4.2 | 2.4.2:p1
2 vendors · 2 products
References
1 links- helpx.adobe.com/security/products/magento/apsb21-64.htmlVendor Advisory