{"id":"CVE-2021-36042","aliases":["CVE-2021-36042","GHSA-6cwv-wj7v-73xp"],"related":[],"kind":"vulnerability","state":"published","title":"Magento Commerce API File Option Upload Extension Improper Input Validation Vulnerability Could Lead To Remote Code Execution","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Magento Commerce versiones 2.4.2 (y anteriores), versiones 2.4.2-p1 (y anteriores), y versiones 2.3.7 (y anteriores), están afectadas por una vulnerabilidad de comprobación Inapropiada de Entrada en la extensión API File Option Upload. Un atacante con privilegios de administrador puede lograr una carga de archivos sin restricciones, que puede resultar en una ejecución de código remota","source":"nvd"}],"published":"2021-09-01T14:31:24.882Z","modified":"2026-06-17T03:58:15.897Z","severity":{"scorer":"adobe","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"adobe","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-434"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"2.4.2","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"2.4.2-p1","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"2.3.7","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"None","status":"affected"}],"vendor":"Adobe","product":"Magento Commerce","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.0.2"}],"ecosystem":"Packagist","package":"magento/project-community-edition","purl":"pkg:composer/magento/project-community-edition","source":"ghsa"},{"ranges":[{"version":"2.4.2","status":"affected"}],"ecosystem":"Packagist","package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.4.2-p1","status":"affected","fixed":"2.4.2-p2"}],"ecosystem":"Packagist","package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"ghsa"},{"ranges":[{"version":"2.3.7","status":"affected"}],"ecosystem":"Packagist","package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.7-p1"}],"ecosystem":"Packagist","package":"magento/community-edition","purl":"pkg:composer/magento/community-edition","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.3.0","lastAffected":"2.3.7"},{"status":"affected","introduced":"2.4.0","lastAffected":"2.4.2"},{"status":"affected","version":"2.4.2"}],"vendor":"adobe","product":"adobe_commerce","cpe":"cpe:2.3:a:adobe:adobe_commerce:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"2.3.0","lastAffected":"2.3.7"},{"status":"affected","introduced":"2.4.0","lastAffected":"2.4.2"},{"status":"affected","version":"2.4.2"}],"vendor":"adobe","product":"magento_open_source","cpe":"cpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://helpx.adobe.com/security/products/magento/apsb21-64.html","tags":["patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36042","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/magento/magento2","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"adobe","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-36042","url":"https://www.cve.org/CVERecord?id=CVE-2021-36042","licence":"CVE Terms of Use","modified":"2024-09-17T01:25:59.655Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6cwv-wj7v-73xp","url":"https://github.com/advisories/GHSA-6cwv-wj7v-73xp","licence":"CC-BY-4.0","modified":"2025-11-07T23:57:47.619Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-36042","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36042","licence":"Public domain","modified":"2026-06-17T03:58:15.897Z"}],"updatedAt":"2026-11-25T22:58:03.603Z","epss":{"score":0.02474,"percentile":0.84973,"date":"2026-12-01T12:00:22.000Z"}}