Skip to main content

CVE-2020-9576 — Vulnerability in magento/community-edition

CRITICAL

Magento command injection vulnerability

Published May 24, 2022Updated February 10, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (5.86%). Schedule for your next planned update.

Does your project use an affected magento/community-edition version?

Paste your composer.lock to check it for CVE-2020-9576 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

Magento versions 2.3.4 and earlier, 2.2.11 and earlier (see note), 1.14.4.4 and earlier, and 1.9.4.4 and earlier have a command injection vulnerability. Successful exploitation could lead to arbitrary code execution.

Advisory Timeline

  • First published May 24, 2022 (1647 days ago).
  • Last revised February 10, 2025 — 993 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update magento/community-edition to 2.2.12 or later
composer require "magento/community-edition:^2.2.12"
Composer
Update magento/core to 1.9.4.5 or later
composer require "magento/core:^1.9.4.5"
Composer
Update magento/community-edition to 2.3.4-p2 or later
composer require "magento/community-edition:^2.3.4-p2"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Packagist (3).

PackageFixed In
magento/community-edition Packagist · Affected: 0.1.0-alpha100, 0.1.0-alpha101, 0.1.0-alpha102, 0.1.0-alpha103 (+104 more)2.2.12
magento/core Packagist · Affected: All versions1.9.4.5
magento/community-edition Packagist · Affected: 2.3.0, 2.3.1, 2.3.2, 2.3.2-p2 (+3 more)2.3.4-p2
magento/project-community-edition Packagist · Affected: 0.1.0-alpha100, 0.1.0-alpha101, 0.1.0-alpha102, 0.1.0-alpha103 (+49 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-78
    OS Command InjectionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2020-9576?
Magento command injection vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2020-9576?
CVE-2020-9576 affects magento/community-edition, magento/core and magento/project-community-edition. It has a 5.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-9576 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
5.86%
EPSS percentile: 94

This places it in the top 10% of EPSS-scored vulnerabilities — 94% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.

Also Known As

GHSA-4f7x-gjqc-qqpg
BIT-magento-2020-9576

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock