High severity7.2NVD Advisory· Published Sep 6, 2023· Updated Jun 17, 2026
CVE-2021-36036
CVE-2021-36036
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
magento/project-community-editionPackagist | <= 2.0.2 | — |
magento/community-editionPackagist | < 2.3.7-p1 | 2.3.7-p1 |
magento/community-editionPackagist | >= 2.4.2-p1, < 2.4.2-p2 | 2.4.2-p2 |
Affected products
12cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*+ 7 more
- cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*range: <2.3.7
- cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*range: <2.3.7
- cpe:2.3:a:magento:magento:2.3.7:-:*:*:commerce:*:*:*
- cpe:2.3:a:magento:magento:2.3.7:-:*:*:open_source:*:*:*
- cpe:2.3:a:magento:magento:2.4.2:-:*:*:commerce:*:*:*
- cpe:2.3:a:magento:magento:2.4.2:-:*:*:open_source:*:*:*
- cpe:2.3:a:magento:magento:2.4.2:p1:*:*:commerce:*:*:*
- cpe:2.3:a:magento:magento:2.4.2:p1:*:*:open_source:*:*:*
- osv-coords3 versionspkg:bitnami/magentopkg:composer/magento/community-editionpkg:composer/magento/project-community-edition
< 2.3.7+ 2 more
- (no CPE)range: < 2.3.7
- (no CPE)range: < 2.3.7-p1
- (no CPE)range: <= 2.0.2
- Range: 0
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-wqr6-wv6c-p8fxghsaADVISORY
- helpx.adobe.com/security/products/magento/apsb21-64.htmlnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-36036ghsaADVISORY
News mentions
0No linked articles in our index yet.