Security mailing lists by PureSourceCode

CVE-2021-21016

CRITICAL 9.1CVSS 3.0

Magento OS command injection via the WebAPI

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 WebAPI. Successful exploitation could lead to remote code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.

Published
11 Feb 2021
Last modified
17 Jun 2026
Assigned by
psirt@adobe.com
NVD status
Modified
Weakness
CWE-78
Also known as
BIT-magento-2021-21016GHSA-792f-c8mp-2cr5
Sources
NVDJSONOSV GHSA-792f-c8mp-2cr5JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD psirt@adobe.com (Secondary) CVSS 3.0 CRITICAL 9.1 CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 9.0 AV:N/AC:L/Au:S/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD magento magento
cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*
< 2.3.6 2.3.6
NVD magento magento
cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*
< 2.3.6 2.3.6
NVD magento magento
cpe:2.3:a:magento:magento:2.3.6:-:*:*:commerce:*:*:*
= 2.3.6
NVD magento magento
cpe:2.3:a:magento:magento:2.3.6:-:*:*:open_source:*:*:*
= 2.3.6
NVD magento magento
cpe:2.3:a:magento:magento:2.4.0:-:*:*:commerce:*:*:*
= 2.4.0
NVD magento magento
cpe:2.3:a:magento:magento:2.4.0:-:*:*:open_source:*:*:*
= 2.4.0
NVD magento magento
cpe:2.3:a:magento:magento:2.4.0:p1:*:*:commerce:*:*:*
= 2.4.0
NVD magento magento
cpe:2.3:a:magento:magento:2.4.0:p1:*:*:open_source:*:*:*
= 2.4.0
NVD magento magento
cpe:2.3:a:magento:magento:2.4.1:-:*:*:commerce:*:*:*
= 2.4.1
NVD magento magento
cpe:2.3:a:magento:magento:2.4.1:-:*:*:open_source:*:*:*
= 2.4.1
OSV Packagist magento/community-edition < 2.3.6-p1 2.3.6-p1
OSV Packagist magento/community-edition >= 2.4.0, < 2.4.2 2.4.2
OSV Packagist magento/project-community-edition <= 2.0.2

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Feb 2021)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.