{"id":"CVE-2021-36031","details":"Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by a Path Traversal vulnerability via the `theme[preview_image]` parameter. An attacker with admin privileges could leverage this vulnerability to achieve remote code execution.","aliases":["GHSA-7w95-qwhh-q9p3"],"modified":"2026-04-12T00:39:19.188283Z","published":"2021-09-01T15:15:09.627Z","references":[{"type":"FIX","url":"https://helpx.adobe.com/security/products/magento/apsb21-64.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/magento/magento2","events":[{"introduced":"f4c1d7526f05bdfb1327b0701cc345f94aadcaed"},{"last_affected":"44a7b6079bcac5ba92040b16f4f74024b4f34d09"},{"introduced":"6729b6e01368248abc33300208eb292c95050203"},{"last_affected":"33242e4b19cf207d7b73f7791ef894b48bb41f8a"},{"introduced":"0"},{"last_affected":"1bd5cb8c065e44779526c0b044ce19b884707695"}],"database_specific":{"extracted_events":[{"introduced":"2.3.0"},{"last_affected":"2.3.7"},{"introduced":"2.4.0"},{"last_affected":"2.4.2"},{"introduced":"0"},{"last_affected":"2.4.2-p1"}],"cpe":["cpe:2.3:a:adobe:adobe_commerce:*:*:*:*:*:*:*:*","cpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:*","cpe:2.3:a:adobe:adobe_commerce:2.4.2:p1:*:*:*:*:*:*","cpe:2.3:a:adobe:magento_open_source:2.4.2:p1:*:*:*:*:*:*"],"source":"CPE_FIELD"}}],"versions":["0.1.0-alpha100","0.1.0-alpha101","0.1.0-alpha102","0.1.0-alpha103","0.1.0-alpha104","0.1.0-alpha105","0.1.0-alpha106","0.1.0-alpha107","0.1.0-alpha108","0.1.0-alpha89","0.1.0-alpha90","0.1.0-alpha91","0.1.0-alpha92","0.1.0-alpha93","0.1.0-alpha94","0.1.0-alpha95","0.1.0-alpha96","0.1.0-alpha97","0.1.0-alpha98","0.1.0-alpha99","0.42.0-beta1","0.42.0-beta3","0.74.0-beta1","2.0.0","2.0.0-rc","2.1.0","2.1.0-rc1","2.1.0-rc2","2.1.0-rc3","2.2.0-RC1.1","2.2.0-RC1.2","2.2.0-RC1.3","2.3.7","2.4.2","2.4.2-p1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-36031.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}