LiveActive security incident?Get immediate response
CVE Record

CVE-2021-36042: Magento Commerce API File Option Upload Extension Improper Input Validation Vulnerability Could Lead To Remote Code Execution

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.

CriticalCVSS 9.1Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

This flaw affects older Magento Commerce releases and lets an authenticated Admin user abuse an API file upload path. Because successful abuse can lead to remote code execution, compromise could affect storefront integrity, customer data, and availability. The main limiter is that the attacker needs Admin privileges first.

Executive priority

Treat this as urgent for any affected Magento Commerce environment. Remote code execution on commerce infrastructure can create business disruption and data exposure, but the Admin-privilege requirement makes identity controls and credential review central to prioritization.

Technical view

CVE-2021-36042 is improper input validation in Magento Commerce API File Option Upload Extension. A network attacker with Admin privileges can perform unrestricted file upload, potentially resulting in remote code execution. CVSS is 9.1 with high privileges required, no user interaction, and changed scope.

Likely exposure

Exposure is most likely in Magento Commerce deployments running 2.4.2 or earlier, 2.4.2-p1 or earlier, or 2.3.7 or earlier, especially where Admin access or privileged API credentials are weakly protected.

Exploitation context

The provided sources do not indicate active exploitation, and this CVE is not marked KEV. Exploitation requires Admin privileges, so risk is tied to stolen credentials, overprivileged accounts, exposed admin surfaces, or compromised integrations.

Researcher notes

Evidence is limited to the CVE record and Adobe advisory reference. Do not assume unauthenticated exploitation or public exploit activity from these sources. Focus validation on affected versions, Admin/API privilege paths, and upload handling around the File Option Upload Extension.

Mitigation direction

  • Check Adobe APSB21-64 for the exact vendor update path.
  • Prioritize upgrading affected Magento Commerce branches per Adobe guidance.
  • Restrict Admin access to trusted networks and enforce MFA.
  • Review and remove unnecessary Admin accounts and API credentials.
  • Monitor file upload locations and Admin activity for suspicious changes.

Validation and detection

  • Identify Magento Commerce versions across all production and staging sites.
  • Confirm whether deployed versions match the affected version ranges.
  • Review Admin users, roles, and privileged API integrations.
  • Check recent Admin/API upload activity for unexpected files.
  • Verify remediation against Adobe APSB21-64 after updates are applied.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-20: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-36042 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.1CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H2.36Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.1Critical
CVSS 3.1 vector shape for CVE-2021-36042Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
AdobeMagento Commerceunspecified, unspecified, unspecified, unspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.