The Library

OpenMage Magento Zero-Day: Media API Flaw Was Used Against a Live Store, What Is Confirmed and the Fixed Versions to Install

OpenMage patched a flaw in the Magento LTS legacy product media API that was used against a store running 20.19.1. What is confirmed, what is not, and why to install 20.19.4 or 20.18.6 this week.

Elite Performance Exclusive LLC 6 min read

Where Worldwide

OpenMage Magento Zero-Day: Media API Flaw Was Used Against a Live Store, What Is Confirmed and the Fixed Versions to Install
On this page 7 sections

The people who maintain OpenMage Magento LTS have patched a flaw in its legacy product media API. The flaw takes content sent by a caller and writes it to a file path on the server without checking where that path points. They say it was already used against a real store, so any business selling online on OpenMage should update to 20.19.4 or 20.18.6 this week.

The advisory, GHSA-qjwx-wccq-qmj5, was published on the OpenMage GitHub project on Dec 3, 2026 by colinmollenhour. Its title marks the issue as remote code execution (RCE). That means the flaw can lead to an attacker running their own code on your store's server.

What happened with the OpenMage Magento zero-day

The problem is in the update() method of the legacy product media API, the part of the platform that handles product media files such as the gallery. The advisory says the method writes the content it receives to a path built from the gallery file name, and that path is not kept inside the product media directory.

In plain terms: a file that should only ever land in the product media folder can be pointed somewhere else on the server, holding content the caller chose. When an attacker can put a file of their choosing in the right place on a web server, they can often get the server to run it.

The advisory says the flaw "was used in the wild against a store running 20.19.1". GBHackers, a security news site that reported on the advisory, calls it a zero-day, meaning it was used before a fix existed. Its headline says the flaw was used to deploy web shells on online stores. A web shell is a file an attacker plants on a web server so they can come back later and run commands through it.

What is confirmed and what is only claimed

Confirmed in OpenMage's own advisory:

  • The affected package is openmage/magento-lts, installed through Composer.
  • Affected versions are listed as 20.18.5 and earlier.
  • The fix is in OpenMage LTS 20.19.4 and 20.18.6.
  • The rating is Medium, with a score of 6.6.
  • The advisory says: "No known CVE."
  • The flaw was used in the wild against a store running 20.19.1.

Reported by GBHackers, not by the advisory text in our sources:

  • That this was a zero-day.
  • That it was used to deploy web shells.
  • That a fix is also available in 21.0.0-beta7.

Not known from the sources:

  • How many stores were attacked. GBHackers itself says: "The disclosure describes one compromised store and does not establish whether other merchants were targeted." So the plural "online stores" in its headline goes beyond what the disclosure shows.
  • Whether an attacker needs API credentials or a login to use the flaw. The sources do not say.
  • What the attacker did on the compromised store, or what data, if any, was taken.
  • Any file names, IP addresses or other signs of compromise. None are published in the sources.

Which OpenMage versions are affected

The advisory lists affected versions as 20.18.5 and earlier. It also says the attacked store was running 20.19.1, and it names 20.19.4 as the fix. The sources do not say which versions between 20.18.5 and 20.19.4 are affected.

There is a lesson in that version number. The attacked store was running 20.19.1, not some long-forgotten release, and it was still hit. Being fairly current is not the same as having the fix, which is the point of our post Updated Is Not the Same as Patched.

How to fix it: OpenMage 20.19.4 or 20.18.6

If your store runs Install Where the fix is stated
20.19.1, or another release before 20.19.4 20.19.4 OpenMage advisory
20.18.5 or earlier 20.18.6 OpenMage advisory
A 21.0.0 beta build 21.0.0-beta7 GBHackers report

What to do this week

  1. Find your exact version. Look for openmage/magento-lts in your store's composer.lock file, or run composer show openmage/magento-lts on the server.
  2. Update to the fixed release for your line. Test on a staging copy first if you have one, then update the live store.
  3. Get confirmation in writing. If a developer, agency or host runs your store, ask them for the version number after the update, not just a yes. Our post Who Is Patching the Software That Runs Your Business? covers why that matters.
  4. Look for files that should not be there. The flaw writes files outside the product media folder, so check your web directories for recently changed or unfamiliar script files. The sources publish no file names, so there is no official list to compare against.
  5. If you find something, treat the server as compromised. Updating closes the hole, but it does not remove anything an attacker has already planted.
  6. Watch the OpenMage security advisories page so the next fix does not reach you through a news story.

Why this matters for an online store

A store server holds customer details, order history and admin access. Code running on that server can usually reach whatever the server itself can reach, so a flaw like this puts the whole store at risk, not just the product images. The sources do not say what was taken from the store that was attacked, and we will not guess. The risk is still there for any store left on an unpatched version.

Don't let the Medium rating slow you down. The score is 6.6, but the advisory's own title says RCE, and the flaw has already been used against a live store. The sources do not explain how the score was worked out. For deciding how fast to act, "used in the wild" matters more than the number.

If you run an online store on any platform, the same pattern shows up again and again: popular platforms get targeted, and unpatched copies get hit. We covered it for another platform in Why WordPress Is the Most Targeted Website Platform on the Internet.

OpenMage zero-day questions people are asking

Is OpenMage Magento LTS being exploited?

Yes. The OpenMage advisory says the flaw was used in the wild against a store running 20.19.1. Only one compromised store is described.

What version fixes the OpenMage vulnerability?

OpenMage LTS 20.19.4 and 20.18.6. GBHackers also lists 21.0.0-beta7 for the beta line.

Does the OpenMage flaw have a CVE number?

No. The advisory says "No known CVE." It is tracked as GHSA-qjwx-wccq-qmj5.

How serious is the OpenMage media API flaw?

It is rated Medium, 6.6, but the advisory labels it remote code execution and it has been used against a real store. Treat it as urgent.

Were other Magento stores hacked?

Not known. The disclosure describes one compromised store and does not show whether others were targeted.

Does an attacker need to log in?

The sources do not say. Patch either way.

Does this affect other Magento editions?

The advisory covers the openmage/magento-lts package. The sources say nothing about other Magento editions, so check your own platform's advisories rather than assuming either way.

The bigger lesson

Open source and actively maintained does not mean your copy is patched. The maintainers fixed this flaw, but the fix only protects stores where someone noticed the advisory, installed the right release and checked for signs of a break-in. Old features count too: this flaw sat in a legacy API, and old code that nobody thinks about still runs on the server every day. Know which version you run, who updates it, and how fast.

For help locking down a store or server, see security hardening or request a quote.

Get security alerts like this by email, along with our free checklist, at security alerts.

Sources: OpenMage security advisory GHSA-qjwx-wccq-qmj5; GBHackers.

Share X LinkedIn Facebook

Was this article helpful?

We only keep the note with this article. No name, no email.

Protected by reCAPTCHA - Privacy and Terms.

Have a question about this article?

Ask it here and we will answer you directly by email. Questions are private, never posted.

Protected by reCAPTCHA - Privacy and Terms.

Security alerts by email

Hear about the next one first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.

Want a result like this?

Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.

Get a Tech Quote

Security alerts by email

The next security hole is already out there. Hear about it from us first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.