Command Injection Affecting magento/community-edition package, versions <2.4.4-p10>=2.4.5, <2.4.5-p9>=2.4.6, <2.4.6-p7>=2.4.7-beta1, <2.4.7-p2


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.3% (80th 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-13863458
  • published9 Nov 2025
  • disclosed14 Aug 2024
  • creditwohlie

Introduced: 14 Aug 2024

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

How to fix?

Upgrade magento/community-edition to version 2.4.4-p10, 2.4.5-p9, 2.4.6-p7, 2.4.7-p2 or higher.

Overview

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

Affected versions of this package are vulnerable to Command Injection via improper neutralization of special elements. An admin attacker can execute arbitrary system commands by leveraging administrative privileges and requiring user interaction.

CVSS Base Scores

version 4.0
version 3.1