CVE-2021-36040
CRITICAL9.1EPSS 3.4%Magento has a file extension restrictions bypass
Published: 5/24/2022Modified: 11/7/2025
Also known as:GHSA-2pq5-gpqf-g4r3
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. An attacker with admin privileges can upload a specially crafted file to bypass file extension restrictions and could lead to remote code execution.
Affected packages (2)
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |