CVE-2021-36036
HIGH 7.2CVSS 3.1Magento improper access control vulnerability within Magento's Media Gallery Upload workflow
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.
- Published
- 6 Sep 2023
- Last modified
- 17 Jun 2026
- Assigned by
- psirt@adobe.com
- NVD status
- Modified
- Weakness
- CWE-284
- Also known as
- BIT-magento-2021-36036GHSA-wqr6-wv6c-p8fx
- Sources
- NVDJSONOSV GHSA-wqr6-wv6c-p8fxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| 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 | psirt@adobe.com (Secondary) | 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 (Secondary) | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:* |
< 2.3.7 | 2.3.7 |
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
< 2.3.7 | 2.3.7 |
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:* |
>= 2.4.0, < 2.4.2 | 2.4.2 |
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
>= 2.4.0, < 2.4.2 | 2.4.2 |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.3.7:-:*:*:commerce:*:*:* |
= 2.3.7 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.3.7:-:*:*:open_source:*:*:* |
= 2.3.7 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.4.2:-:*:*:commerce:*:*:* |
= 2.4.2 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.4.2:-:*:*:open_source:*:*:* |
= 2.4.2 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.4.2:p1:*:*:commerce:*:*:* |
= 2.4.2 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.4.2:p1:*:*:open_source:*:*:* |
= 2.4.2 | |
| OSV | Packagist | magento/project-community-edition | <= 2.0.2 | |
| OSV | Packagist | magento/community-edition | < 2.3.7-p1 | 2.3.7-p1 |
| OSV | Packagist | magento/community-edition | = 2.3.7 | |
| OSV | Packagist | magento/community-edition | >= 2.4.2-p1, < 2.4.2-p2 | 2.4.2-p2 |
| OSV | Packagist | magento/community-edition | = 2.4.2 |
References
- https://helpx.adobe.com/security/products/magento/apsb21-64.html · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-36036 · ADVISORY
- https://github.com/magento/magento2 · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 6 Sep 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Sep 2023)