CVE-2021-36042
JSON

9.1critical

Magento Commerce API File Option Upload Extension Improper Input Validation Vulnerability Could Lead To Remote Code Execution

Severity
9.1critical CVSS:3.1 by adobe
Exploit likelihood
2.47% (higher than 84% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
adobe
Also known as
GHSA-6cwv-wj7v-73xp

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 in the API File Option Upload Extension. An attacker with Admin privileges can achieve unrestricted file upload which can result in remote code execution.

Affected

Product or packageVersionsReported by
Adobe Magento Commercefrom unspecified up to 2.4.2, from unspecified up to 2.4.2-p1, from unspecified up to 2.3.7, from unspecified up to NoneCVE List
magento/project-community-edition (Packagist)up to 2.0.2GitHub Advisory Database
magento/community-edition (Packagist)2.4.2, from 2.4.2-p1 before 2.4.2-p2, 2.3.7, before 2.3.7-p1GitHub Advisory Database
adobe adobe_commercefrom 2.3.0 up to 2.3.7, from 2.4.0 up to 2.4.2, 2.4.2NVD
adobe magento_open_sourcefrom 2.3.0 up to 2.3.7, from 2.4.0 up to 2.4.2, 2.4.2NVD

All scores

adobe9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

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 in the API File Option Upload Extension. An attacker with Admin privileges can achieve unrestricted file upload which can result in remote code execution.

NVD (es)

Magento Commerce versiones 2.4.2 (y anteriores), versiones 2.4.2-p1 (y anteriores), y versiones 2.3.7 (y anteriores), están afectadas por una vulnerabilidad de comprobación Inapropiada de Entrada en la extensión API File Option Upload. Un atacante con privilegios de administrador puede lograr una carga de archivos sin restricciones, que puede resultar en una ejecución de código remota

References

Sources

SourceRecordLicence
CVE ListCVE-2021-36042 changed 2024-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-6cwv-wj7v-73xp changed 2025-11-07CC-BY-4.0
NVDCVE-2021-36042 changed 2026-06-17Public domain