Skip to content
Fencer Vulns
high 8.0

CVE-2021-21015 json

Magento Commerce Unauthorized Data Modification Could Lead to Arbitrary Code Execution

published 2021-02-11 5 y ago modified 2026-09-08 2 mo ago also BIT-magento-2021-21015 , EUVD-2022-5464 , GHSA-w2p4-2c8c-2g7h

cvss
8.0
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.1%
EPSS 3.1% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to an OS command injection via the customer attribute save controller. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.

Patch / fix

  • packagist magento/community-edition 2.3.6-p1, 2.4.2
  • bitnami magento 2.3.6, 2.4.2
  • magento magento 2.3.6

Exploit prediction

3.06% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 8.0 CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
GitHub 3.1 8.0 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD 2.0 8.5 AV:N/AC:M/Au:S/C:C/I:C/A:C
OSV 3.0 8.0 CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist magento/community-edition
<2.3.6-p1
>=2.4.0, <2.4.2
2.3.6-p1
2.4.2
bitnami magento
<2.3.6
>=2.4.0, <2.4.2
2.3.6
2.4.2

Affected products

  • Adobe Magento Commerce

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.