LiveActive security incident?Get immediate response
CVE Record

CVE-2021-21014: Magento Commerce Arbitrary Folder Empty Could Lead To Arbitrary Code Execution

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to a file upload restriction bypass. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.

CriticalCVSS 9.1Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2021-21014 is a critical Magento Commerce issue where an authenticated administrator could bypass file upload restrictions and potentially run arbitrary code. The main business risk is compromise of an e-commerce platform if an admin account or admin console access is abused.

Executive priority

Treat this as urgent for any affected Magento Commerce environment, especially production stores. The privilege requirement lowers broad internet risk, but admin compromise could become server compromise.

Technical view

The CVE describes CWE-434 in Magento Commerce 2.4.1 and earlier, 2.4.0-p1 and earlier, and 2.3.6 and earlier. Exploitation requires admin console access and high privileges, but CVSS 9.1 reflects network reachability, low complexity, scope change, and high impact to confidentiality, integrity, and availability.

Likely exposure

Exposure is most likely on Adobe Magento Commerce systems running the listed affected versions with reachable admin consoles. Risk depends heavily on administrator account security and admin interface access controls.

Exploitation context

The provided sources do not show CISA KEV listing or confirmed active exploitation. The attack is not unauthenticated; successful exploitation requires access to the Magento admin console.

Researcher notes

Evidence is limited to the CVE description and Adobe advisory reference. Do not assume exploit availability, exploit maturity, or exact fixed versions beyond what Adobe APSB21-08 states.

Mitigation direction

  • Review Adobe APSB21-08 and apply the vendor-provided security update for your Magento branch.
  • Restrict Magento admin console access to trusted networks and managed devices.
  • Review admin accounts for unnecessary privileges, stale users, and weak authentication controls.
  • Monitor Magento servers for unexpected file changes or web process behavior.

Validation and detection

  • Inventory Magento Commerce versions and compare them with the affected version ranges.
  • Confirm whether any admin console is internet-accessible or broadly reachable.
  • Review admin user activity around file upload and content management functions.
  • Check change records to confirm Adobe APSB21-08 remediation was applied.
Prepared
Confidence
medium
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 · medium confidence lookup

CWE-434: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. 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-21014 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.0)
Known Exploited
No
Published

Vector: CVSS:3.0/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.0CriticalCVSS:3.0/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.0 score

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

Vector: CVSS:3.0/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.

CWE-434 · source CWE mapping

Unrestricted Upload of File with Dangerous Type

Unrestricted Upload of File with Dangerous Type represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.