CVE-2021-36041
mediumpriority · track · 30EPSS 0.024 · 84 %ileEURUUSEPSS · scored 2026-10-27
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. An attacker with admin privileges could upload a specially crafted file in the 'pub/media` directory could lead to remote code execution.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.5–9.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (20)
Products and version ranges known to be affected.
- Packagist magento/project-community-edition≤ 2.0.2osvUSpkg:composer/magento/project-community-edition
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-mx5m-j5xr-jg8cMagento vulnerable to file upload attack2022-05-24ghsa · osvUS
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. An attacker with admin privileges could upload a specially crafted file in the 'pub/media` directory could lead to remote code execution.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://helpx.adobe.com/security/products/magento/apsb21-64.htmlcnnvd
- https://vigilance.fr/vulnerability/Magento-Commerce-OS-multiple-vulnerabilities-36104cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.2693cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021081043cnnvd
- https://helpx.adobe.com/security/products/magento/apsb21-64.htmlenisa_euvd
- https://helpx.adobe.com/security/products/magento/apsb21-64.htmlPatchVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan