A file upload flaw in Adobe Commerce and Magento Open Source, CVE-2026-48356, lets attackers put files on a store without logging in, according to Sansec, the security firm that named it PolyShell. CISA added it to its Known Exploited Vulnerabilities catalog on October 27, 2026. Apply Adobe's July 2026 APSB26-73 patch, block web access to pub/media/custom_options/, then check for webshells.
What happened
According to Sansec, Magento's REST API accepts a file attached to a cart item's custom options, but it does not check that the option is real or that the file type is safe. Guest cart routes need no sign-in. Files disguised as images land in pub/media/custom_options/quote/. Whether one can then run as code depends on the web server setup.
Adobe's bulletin APSB26-73, published July 14, 2026, lists these as affected: Adobe Commerce 2.4.9, and 2.4.8-p5, 2.4.7-p10, 2.4.6-p15, 2.4.5-p17 and 2.4.4-p18 and earlier; Magento Open Source 2.4.9, and 2.4.8-p5, 2.4.7-p10 and 2.4.6-p15 and earlier; Adobe Commerce B2B; and Adobe Commerce Events 1.6.0 to 1.20.0. Fixed builds carry a 2026-jul label, such as 2.4.9-2026-jul or 2.4.8-2026-jul.
Adobe rates the flaw Critical with a CVSS score of 9.6 and says no authentication is required. NVD scores it 9.3. NVD's description says exploitation needs a victim to visit a crafted URL or compromised page, which reads differently from Sansec's account of uploads with no login.
The sources also disagree on exploitation. Adobe's bulletin says Adobe is not aware of any exploits in the wild. CISA lists the flaw as actively exploited and gave US federal agencies until November 10, 2026 to fix it. Sansec reports attacks since March 2026, including 471 stores compromised in one hour on March 30. On October 24, Sansec reported that the campaign behind that wave has put script loaders on 953 stores since July 2025, mostly Magento shops.
Why it matters for website owners
Any store on an affected version without APSB26-73 is exposed, and Sansec says the attacks have been automated since March. Sansec found the campaign's loader on a fully patched store that already had a rogue admin account, so patching alone does not remove earlier access. This week, patch, block the upload folder, then look for what may already be there.
What to check on your site
- Apply APSB26-73. Adobe ships it as isolated patch files, not Composer packages. Update to the latest -p release of your line, then apply the matching patch from Adobe's KA-37421 article. Update Commerce Events to 1.21.0 if you use it. On Adobe Commerce on Cloud, the latest cloud-patches update includes the fix. Confirm coverage with Adobe's Commerce Version Tool.
- Block the upload folder. Deny all web access to
pub/media/custom_options/. On Nginx, Sansec's example is a location block for that path withdeny all;, placed before any PHP location block. On Apache, check thatpub/media/custom_options/.htaccessexists and containsDeny from all. Sansec notes this limits damage but does not stop uploads, and uploaded files stay on disk. - Look for planted files. Check
pub/media/custom_options/andpub/media/customer_address/for any file other than.htaccess. Sansec says any .php, .phtml or .phar file in the custom options folder is a strong sign of compromise. - Search for the backdoor. Look for
accesson.phpin every folder on the site. - Check CMS content. Search the
cms_blockandcms_pagetables forfpCode,se_referrerandlocalStorage.getItem, and for loader domains Sansec lists, such asdeepveindrilling[.]comandlanhd6549tdhse[.]top. - Review accounts and rotate secrets. Check
admin_userfor accounts you do not recognize. After cleanup, change database, admin and API integration passwords. - Scan for public signs. The Site Compromise Checker looks for public signs that a site may be compromised. Sansec says the newest loader hides from automated browsers, so a clean result does not prove your store is clean.
Related reading
- Secure File Uploads for Web Applications
- Post-Incident Website Validation
- How to Check a Site for Public Compromise Signals
Sources
- Adobe: APSB26-73 security update for Adobe Commerce (Jul 14, 2026)
- NVD: CVE-2026-48356 with CISA KEV entry (Jul 14, 2026)
- Sansec: PolyShell unrestricted file upload (Mar 17, 2026)
- Sansec: Magento CMS block loader hits 953 stores (Oct 24, 2026)
