Skip to content
OpenMage Magento Zero-Day Vulnerability Actively Exploited to Deploy Web Shells on Online Stores

OpenMage Magento Zero-Day Vulnerability Actively Exploited to Deploy Web Shells on Online Stores

Gbhackers •Divya • December 4, 2026

OpenMage maintainers have patched a zero-day vulnerability in the platform’s legacy product media API after attackers used it to install a web shell on an online store running OpenMage LTS 20.19.1.

The flaw affects the community-maintained fork of Magento 1, not the Magento 2 products covered by the separate StyleSmuggler vulnerability . The disclosure describes one compromised store and does not establish whether other merchants were targeted.

The affected operation updates existing product gallery images. It trusted stored gallery filenames without ensuring that the resulting file path stayed inside the product media directory.

It also checked the declared media type without verifying that the submitted data was actually an image. Together, these weaknesses allowed a privileged API user to write arbitrary content outside the intended directory under certain conditions, potentially leading to remote code execution if the web server executed the resulting file.

OpenMage Magento Zero-Day Vulnerability

Unlike the unauthenticated SessionReaper attacks against Magento and Adobe Commerce , the OpenMage attack required an API role with permission to update product media and a separate way to alter stored gallery data.

Maintainers attributed that database manipulation to SQL injection in the reported incident. Even without that additional foothold, an account with the media update permission could still overwrite existing product images with content that OpenMage did not validate.

The OpenMage security advisory , published December 3, assigns the flaw a CVSS score of 6.6 and lists no known CVE. Maintainers raise the rating to 7.2 for stores where an attacker already has a way to make the necessary database change.

The difference matters because the base score reflects the difficulty of meeting the prerequisites, not the potential impact once an attacker can run code on the server. Affected releases include OpenMage LTS versions 20.18.5 and earlier, versions 20.19.0 through 20.19.3, and versions 21.0.0-beta1 through 21.0.0-beta6.

Fixes are available in versions 20.18.6, 20.19.4, and 21.0.0-beta7. The updated operation restricts writes to the product media directory, requires an image extension, and ensures the image is validated and re-encoded before replacing the existing file. These measures address vulnerabilities that were left unprotected by earlier media security changes.

Merchants should upgrade promptly and investigate whether anyone abused the flaw before the update. As earlier Magento web shell incidents show, patching closes the entry point.

However, it doesn’t remove a backdoor already on the server. Administrators should review legacy API and web server logs, audit product gallery records for unexpected paths, and look for unfamiliar PHP files in web-accessible directories. Preserve relevant logs and suspicious files before cleanup so responders can determine the scope of any compromise.

If an immediate upgrade isn’t possible, maintainers recommend blocking unused legacy API endpoints or removing product media update permissions from API roles that don’t need them.

Store operators should also verify that PHP execution is turned off in the media directory. OpenMage ships an Apache rule for that restriction, while Nginx deployments need an equivalent rule in their site configuration. These measures reduce exposure while merchants prepare the update.

Join ANY.RUN and Torq to learn how TI Feeds can help your SOC detect up to 30% of malicious IOCs earlier & accelerate investigations -> Attend Free Live Webinar

Artificial Intelligence

Cyber security Course

Cyber Security Resources

Cybersecurity

Information Gathering

Information Security Risks

Google Chrome to Block Trust in ECDSA P-256 CA Certificates Starting March 2027

Multiple Synology NAS Vulnerabilities Let Hackers Steal Sensitive Files and Disrupt Services

Hackers Use Trusted Canon Software to Secretly Run Malware on Windows Computers

CJDoor Malware Could Let Hackers Take Control of Linux Devices While Hiding Network Traffic

Lunex Stealer Uses Fake Google Translate Extension to Steal Passwords and Control PCs

Woolworths Data Breach Exposes Database Containing 14 Million Customer Records

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.