LiveActive security incident?Get immediate response
CVE Record

CVE-2021-21018: Magnto Commerce Unauthorized Data Modification 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 OS command injection via the scheduled operation module. 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

This Magento Commerce flaw can let an authenticated admin-console user trigger operating-system command injection through scheduled operations. If exploited, it could result in arbitrary code execution and full compromise of a storefront environment. The main limiting factor is that admin-console access is required.

Executive priority

Treat as urgent for any affected Magento Commerce environment because compromise could reach server-level code execution. Prioritize patch verification, admin-access reduction, and monitoring, with highest attention on revenue-critical storefronts.

Technical view

CVE-2021-21018 is a CWE-78 OS command injection issue in Magento Commerce scheduled operation functionality. Listed affected versions include 2.4.1 and earlier, 2.4.0-p1 and earlier, and 2.3.6 and earlier. CVSS is 9.1 with high privileges required and changed scope.

Likely exposure

Exposure is most likely in Magento Commerce installations at or below the affected versions, especially where admin-console access is broadly granted, internet-reachable, or weakly protected. The provided data does not confirm Magento Open Source impact.

Exploitation context

The source bundle does not show CISA KEV listing or cite active exploitation. Exploitation requires an authenticated attacker with admin-console access, but successful exploitation could allow arbitrary code execution with confidentiality, integrity, and availability impact.

Researcher notes

Evidence supports critical impact but also high privilege requirements. The provided bundle names Magento Commerce and scheduled operations but does not include exploit details, indicators, or exact fixed versions. Avoid assuming active exploitation without additional sourced evidence.

Mitigation direction

  • Identify all Magento Commerce instances and versions.
  • Review Adobe APSB21-08 for vendor-fixed versions and instructions.
  • Prioritize updates for affected production storefronts.
  • Restrict admin-console access to trusted networks and users.
  • Enforce strong MFA and least privilege for admin accounts.
  • Monitor admin activity and scheduled operation changes.

Validation and detection

  • Confirm whether deployed versions are 2.4.1, 2.4.0-p1, 2.3.6, or earlier.
  • Verify Adobe-recommended security update status from APSB21-08.
  • Audit admin accounts for unnecessary privileged access.
  • Review logs for unusual admin-console and scheduled operation activity.
  • Confirm admin console is not broadly internet-accessible.
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-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter 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
cve · low confidence lookup

CVE-2021-21018 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-21018Attack 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-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.