PolyShell Vulnerability Hits Magento and Adobe Commerce: Hackers Exploit E-Commerce Platforms

Listen to this Post

Featured Image
A critical new threat is sweeping through the e-commerce world. Hackers are actively exploiting a severe vulnerability in Magento and Adobe Commerce, now dubbed PolyShell, enabling them to remotely execute code and compromise entire accounts on thousands of online stores. With no official patch yet available for most production versions, the risk to e-commerce businesses globally is at an all-time high.

What Is the PolyShell Flaw?

Discovered by the Sansec Forensics Team and disclosed on March 17, 2026, the PolyShell vulnerability targets Magento’s REST API. It specifically exploits the anonymous guest cart feature. Normally, when users add products to their carts, the system allows optional file uploads. However, PolyShell bypasses all security checks: files are not validated properly, option IDs are ignored, and dangerous file extensions are not restricted.

This means attackers can upload malicious scripts disguised as harmless images. A common method involves embedding PHP code into a GIF89a file header, allowing the script to execute once on the server. Hackers are using polyglot files—malicious code hidden inside seemingly valid images—to evade detection by standard security filters.

Impacted Versions

The vulnerability affects multiple Magento and Adobe Commerce versions:

Unrestricted file upload: All versions up to 2.4.9-alpha2

Stored cross-site scripting (XSS): Versions before 2.3.5

Remote code execution (RCE): Depends on server setup, particularly Nginx and Apache

Currently, the only patch is in the unreleased 2.4.9-alpha3 branch, leaving most live platforms exposed.

Active Exploitation

Sansec researchers observed mass scanning and immediate exploitation starting March 19, 2026. Threat actors are now targeting stores with:

Suspicious filenames like index.php, json-shell.php, bypass.phtml, c.php, and rce.php

Unicode-obfuscated filenames to bypass detection

Hardcoded MD5 hashes such as a17028468cb2a870d460676d6d6da3ad63706778e3 and 4009d3fa8132195a2dab4dfa3affc8d2

Malicious IP activity, including 2.217.245.213 and 18.220.50.153

Once uploaded, these web shells allow attackers to run arbitrary commands, deploy additional malware, and maintain long-term access to compromised servers.

Immediate Mitigation Steps

Organizations must act swiftly:

Deploy a Web Application Firewall (WAF) to block exploit attempts in real time

Restrict access to pub/media/custom_options/, the typical storage path for malicious files

For Nginx, enforce strict deny rules; Apache users should check .htaccess protections

Conduct frequent file system scans, as dormant malicious uploads may trigger later

What Undercode Say:

The PolyShell vulnerability highlights a growing pattern of attackers exploiting e-commerce platform features meant for convenience, like guest cart uploads. Unlike traditional flaws, PolyShell doesn’t require login credentials, making it particularly dangerous for businesses that rely on Magento or Adobe Commerce.

Attackers are leveraging polyglot files to evade even sophisticated filters, demonstrating how modern threats increasingly rely on blending malicious and legitimate data formats. The rapid weaponization—just two days after disclosure—shows that hackers are prepared to exploit every unpatched store immediately.

For cybersecurity teams, this vulnerability underlines the importance of proactive threat hunting. Monitoring for anomalous file uploads, scanning for known hashes, and reviewing server logs should be treated as essential daily tasks. Traditional patching alone is insufficient when the official fix is not yet released.

The broader concern is operational: online stores cannot afford downtime from potential RCE attacks. In addition to technical defenses, administrators should implement incident response plans, including isolating compromised servers and alerting customers in case of data breaches.

PolyShell also raises questions about software release strategies. The fact that only an alpha branch contains a patch indicates that production users are left vulnerable, highlighting a gap between development and security deployment cycles. E-commerce platforms need faster patch rollouts and more robust pre-release testing to prevent widespread exploitation.

Furthermore, attackers’ use of Unicode obfuscation and hardcoded MD5 hashes points to a maturation in attack techniques. Hackers are no longer relying solely on brute-force or generic malware; they are combining coding tricks, social engineering, and automated mass scanning to maximize impact.

For businesses still running versions prior to 2.4.9-alpha3, the takeaway is clear: assume compromise is possible. While WAFs and access restrictions reduce risk, monitoring and rapid incident response remain critical.

Finally, PolyShell emphasizes the importance of community-driven reporting. Sansec’s swift disclosure enabled security teams to respond faster, showing the value of coordinated vulnerability research and public transparency in mitigating cyber threats.

Fact Checker Results:

✅ PolyShell exploits Magento REST API and guest cart file uploads – verified by Sansec report.
✅ No official patch exists for production versions up to 2.4.9-alpha2 – confirmed by release notes.
❌ Claims that all servers are immediately compromised are overstated; risk depends on configuration and monitoring.

Prediction:

⚠️ Without rapid patch deployment, PolyShell could lead to a wave of e-commerce breaches within weeks.
✅ Businesses implementing WAFs and strict directory protections are likely to mitigate most attacks.
💡 Expect increased use of polyglot files and Unicode obfuscation as attackers refine stealth techniques targeting web platforms.

If you want, I can also create a timeline infographic of PolyShell attacks and mitigation steps, which would make this article even more compelling for readers. Do you want me to do that?

🕵️‍📝✔️Let’s dive deep and fact‑check.

References:

Reported By: cyberpress.org
Extra Source Hub (Possible Sources for article):
https://www.reddit.com
Wikipedia
OpenAi & Undercode AI

Image Source:

Unsplash
Undercode AI DI v2
Bing

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow UndercodeNews & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin | 🦋BlueSky | 🐘Mastodon