Home / Adobe / Magento Commerce / CVE-2021-36041
CVE-2021-36041: is it exploited, and which versions of Adobe Magento Commerce are affected and fixed?
CVE-2021-36041 is an improper input validation vulnerability in Adobe Magento Commerce. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: magento/project-community-edition through 2.0.2, magento/community-edition before 2.3.7-p1 and magento/community-edition from 2.4.2-p1 before 2.4.2-p2 (GitHub advisory GHSA-mx5m-j5xr-jg8c). Fixed in 2.3.7-p1 and 2.4.2-p2 (GitHub advisory GHSA-mx5m-j5xr-jg8c). Severity: Critical (9.1, CVSS 3.1, from adobe).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 28, 2026, 20:09 UTC and NVD November 19, 2026, 07:55 UTC.
What is CVE-2021-36041?
Magento Commerce Improper Input Validation Could Lead To Remote Code Execution
Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an improper input validation vulnerability. An attacker with admin privileges could upload a specially crafted file in the 'pub/media` directory could lead to remote code execution.
From the CVE record by adobe, last updated September 17, 2024, 04:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Adobe | Magento Commerce | through 2.4.2 through 2.4.2-p1 through 2.3.7 through None |
As the CVE record by adobe states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | magento/project-community-edition | <= 2.0.2 | none listed | GHSA-mx5m-j5xr-jg8c |
| Packagist | magento/community-edition | < 2.3.7-p1 | 2.3.7-p1 | GHSA-mx5m-j5xr-jg8c |
| Packagist | magento/community-edition | 2.3.7 | none listed | GHSA-mx5m-j5xr-jg8c |
| Packagist | magento/community-edition | >= 2.4.2-p1, < 2.4.2-p2 | 2.4.2-p2 | GHSA-mx5m-j5xr-jg8c |
| Packagist | magento/community-edition | 2.4.2 | none listed | GHSA-mx5m-j5xr-jg8c |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 7, 2025. Summary: Magento vulnerable to file upload attack.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| adobe | adobe commerce | from 2.3.0 through 2.3.7 | application |
| adobe | adobe commerce | from 2.4.0 through 2.4.2 | application |
| adobe | adobe commerce | 2.4.2 | application |
| adobe | magento open source | from 2.3.0 through 2.3.7 | application |
| adobe | magento open source | from 2.4.0 through 2.4.2 | application |
| adobe | magento open source | 2.4.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:58 UTC.
How severe is CVE-2021-36041?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | adobe |
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-36041 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.41% probability of exploitation activity in the next 30 days, percentile 84.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://helpx.adobe.com/security/products/magento/apsb21-64.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 30, 2021
- Published
- September 1, 2021, 14:31 UTC
- CVE record updated
- September 17, 2024, 04:04 UTC by adobe
- NVD
- Modified, last modified June 17, 2026, 03:58 UTC
- Last checked
- CVE list November 28, 2026, 20:09 UTC; NVD November 19, 2026, 07:55 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Magento Commerce?
- Feb 16, 2022CVE-2022-24086 Adobe Magento Commerce: improper input validation exploited
- Aug 9, 2023CVE-2023-38208 Adobe Magento Commerce: OS command injection
- Aug 9, 2023CVE-2023-38209 Adobe Magento Commerce: incorrect authorization
- Jun 15, 2023CVE-2023-29297 Adobe Magento Commerce: template injection
- Jun 15, 2023CVE-2023-29296 Adobe Magento Commerce: incorrect authorization
- Jun 15, 2023CVE-2023-29295 Adobe Magento Commerce: incorrect authorization
- Jun 15, 2023CVE-2023-29294 Adobe Magento Commerce
- Jun 15, 2023CVE-2023-29292 Adobe Magento Commerce: server-side request forgery (SSRF)
Questions about CVE-2021-36041
Is CVE-2021-36041 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 2.41% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Adobe Magento Commerce are affected by CVE-2021-36041?
magento/project-community-edition through 2.0.2, magento/community-edition before 2.3.7-p1 and magento/community-edition from 2.4.2-p1 before 2.4.2-p2, per the GitHub advisory GHSA-mx5m-j5xr-jg8c. The tables above give every range the sources list.
Which version fixes CVE-2021-36041?
2.3.7-p1 and 2.4.2-p2, per the GitHub advisory GHSA-mx5m-j5xr-jg8c. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-36041?
Critical (9.1, CVSS 3.1, from adobe). The severity table above shows each score with its source.
Where is the official record of CVE-2021-36041?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.