Command Injection Affecting magento/community-edition package, versions >=2.4.4-p1, <2.4.4-p7>=2.4.5-p1, <2.4.5-p6>=2.4.6-p1, <2.4.6-p4


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MAGENTOCOMMUNITYEDITION-9213199
  • published5 Mar 2025
  • disclosed15 Feb 2024
  • creditBlaklis

Introduced: 15 Feb 2024

CVE-2024-20720  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade magento/community-edition to version 2.4.4-p7, 2.4.5-p6, 2.4.6-p4 or higher.

Overview

magento/community-edition is a modern cloud eCommerce platform.

Affected versions of this package are vulnerable to Command Injection through the command execution interface. An attacker can execute arbitrary commands on the server by injecting malicious inputs into the command parameters. This is only exploitable if the attacker has high-level privileges, such as administrative access.

CVSS Base Scores

version 4.0
version 3.1