Live threats

All CVEs / Magento

CVE-2021-21018Magento

Critical 9.1

Priority
55
CVSS 3.0
9.1
EPSS
3.9%
probability of exploitation in 30 days · percentile 91
Auth required
Yes
Published
Feb 11, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Magento.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist magento/community-edition < 2.3.6 2.3.6 composer require "magento/community-edition:^2.3.6"
Packagist magento/community-edition ≥ 2.4.0 < 2.4.1-p1 2.4.1-p1 composer require "magento/community-edition:^2.4.1-p1"

Per OSV / GitHub Advisories (GHSA-rv48-v862-mp92). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
magentomagento< 2.3.6
magentomagento< 2.3.6
magentomagento2.3.6
magentomagento2.3.6
magentomagento2.4.0
magentomagento2.4.0
magentomagento2.4.0
magentomagento2.4.0
magentomagento2.4.1
magentomagento2.4.1

Official sources

References

Links published by the sources. Open them with care.