How to Deal with the PolyShell Vulnerability (CVE-2026-48356) on Hypernode
PolyShell (CVE-2026-48356) is an unauthenticated file upload vulnerability in Magento Open Source and Adobe Commerce. Attackers upload PHP code, disguised as an image, through the guest cart REST API. It has been exploited since March 2026.
For more information, see PolyShell: unrestricted file upload in Magento and Adobe Commerce by Sansec.
What Hypernode Does
Every Hypernode has the NGINX configuration files server.block_polyshell_upload.conf and server.block_media_php.conf, which block the execution of files in the upload directory. These files do not block the upload itself, so uploaded files can still land on disk.
What You Should Do
Install Adobe’s July 2026 patch from security bulletin APSB26-73. See How to Apply Magento Patches.
Look for PHP files in the upload directory and remove them, even though they cannot run on your Hypernode today:
find pub/media/custom_options -type f \( -name "*.php" -o -name "*.phtml" -o -name "*.phar" \)
Scan your shop.
Scan Your Shop with Sansec
Manual checks do not always find all malware. A scan with Sansec eComscan helps you find malware, backdoors, and known vulnerabilities in your shop. eComscan comes preinstalled on every Hypernode. To start a scan, run the following command:
ecomscan /data/web/magento2
If your shop lives in a different folder, change the path accordingly. See How to Set Up Sansec eComscan on Hypernode for more information.
If You Find Signs of Compromise
Rotate the Magento encryption key and every credential that the key protected, such as admin passwords, API and integration tokens, payment gateway credentials, database credentials, SSH and deploy keys, and the secrets in app/etc/env.php. Rotate these at the source, not only inside Magento. See How to Recover a Hacked Magento Shop for the general recovery steps.
Note
Hypernode does not clean up malware on customer shops. Your developer or a security partner has to do this.