Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-36042

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 in the API File Option Upload Extension. An attacker with Admin privileges can achieve unrestricted file upload which can result in remote code execution.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-36042
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:26 UTC · Revision 1

Source evidence

CVE-2021-36042

core-osv · Original source

Published 1 Sept 2021, 15:15 UTC

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 in the API File Option Upload Extension. An attacker with Admin privileges can achieve unrestricted file upload which can result in remote code execution.

osv:CVE-2021-36042
Complete source record
{
  "id": "9a222a5e22c4719e458751c04469c1fe4f9af37cfe4ac1328f531f2d87dce2c8",
  "url": "https://osv.dev/vulnerability/CVE-2021-36042",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-36042",
    "summary": "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 in the API File Option Upload Extension. An attacker with Admin privileges can achieve unrestricted file upload which can result in remote code execution.",
    "evidence": "osv:CVE-2021-36042",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-36042",
      "aliases": [
        "CVE-2021-36042",
        "GHSA-6cwv-wj7v-73xp"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/magento/magento2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f4c1d7526f05bdfb1327b0701cc345f94aadcaed"
                },
                {
                  "last_affected": "44a7b6079bcac5ba92040b16f4f74024b4f34d09"
                },
                {
                  "introduced": "6729b6e01368248abc33300208eb292c95050203"
                },
                {
                  "last_affected": "33242e4b19cf207d7b73f7791ef894b48bb41f8a"
                },
                {
                  "introduced": "1bd5cb8c065e44779526c0b044ce19b884707695"
                },
                {
                  "last_affected": "1bd5cb8c065e44779526c0b044ce19b884707695"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "last_affected": "2.3.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.0"
                      },
                      {
                        "last_affected": "2.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:magento_open_source:2.4.2:p1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.2-p1"
                      },
                      {
                        "last_affected": "2.4.2-p1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.4.2-p1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36042.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:28.918714829Z",
      "provider": "osv",
      "references": [
        "https://helpx.adobe.com/security/products/magento/apsb21-64.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:adobe:adobe_commerce:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "adobe:adobe_commerce",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.3.0"
                  },
                  {
                    "last_affected": "2.3.7"
                  },
                  {
                    "introduced": "2.4.0"
                  },
                  {
                    "last_affected": "2.4.2"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:adobe:adobe_commerce:2.4.2:p1:*:*:*:*:*:*"
            ],
            "vendor_product": "adobe:adobe_commerce",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.4.2-p1"
                  },
                  {
                    "last_affected": "2.4.2-p1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-36042",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432167,
  "published_at": "2021-09-01T15:15:10.233+00:00"
}