CVE-2024-20720 Command injection in data collector backup due to insufficient patching of CVE-2023-38208
An attacker can execute arbitrary code via command injection in the data collector backup feature of Adobe Commerce.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-20720?
CVE-2024-20720 is a critical command injection vulnerability in Adobe Commerce, published on 15 Feb 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Adobe Commerce versions 2.4.6-p3, 2.4.5-p5, 2.4.4-p6 and earlier are affected by an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability that could lead in arbitrary code execution by an attacker. Exploitation of this issue does not require user interaction.
Weakness: CWE-78
Which versions are affected by CVE-2024-20720?
10 open source packages ship an affected version, including magento/community-edition and magento/project-community-edition. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
magento/community-edition Packagist | All versions | None |
magento/community-edition Packagist | All versions | None |
magento/community-edition Packagist | From 2.4.4-p1 | 2.4.4-p7 |
magento/community-edition Packagist | From 2.4.4-p1 | 2.4.4-p7 |
magento/community-edition Packagist | From 2.4.5-p1 | 2.4.5-p6 |
magento/community-edition Packagist | From 2.4.5-p1 | 2.4.5-p6 |
4 more packages
magento/community-edition Packagist | From 2.4.6-p1 | 2.4.6-p4 |
magento/community-edition Packagist | From 2.4.6-p1 | 2.4.6-p4 |
magento/project-community-edition Packagist | All versions to 2.0.2 | None |
magento/project-community-edition Packagist | All versions to 2.0.2 | None |
Products include Adobe Commerce.
How do I fix CVE-2024-20720?
Upgrade magento/community-edition to a fixed version for your release line: 2.4.4-p7, 2.4.5-p6 or 2.4.6-p4.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-20720 being exploited?
There is no known exploitation of CVE-2024-20720 in the wild and no public exploit code.
Other vulnerabilities in Adobe Commerce
- CVE-2026-75650 Adobe Commerce and Magento Improper Neutralization of Special Elements Used in a Template Engine
- CVE-2024-34102 Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE)
- CVE-2022-24086 Adobe Commerce and Magento Open Source Improper Input Validation
- CVE-2026-48356 Adobe Commerce and Magento Unrestricted Upload of File with Dangerous Type
- CVE-2026-71362 Adobe Commerce and Magento Incorrect Authorization Vulnerability
Sources
Also known as GHSA-525f-pvj5-vqmq.