CVE-2026-53787 Amasty Order Attributes for Magento 2 < 4.0.0 Unauthenticated Arbitrary File Upload

Critical 9.3 Published Updated

Unauthenticated attackers can upload arbitrary files, including PHP, to achieve remote code execution or host malware on Magento 2 stores.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-53787?

CVE-2026-53787 is a critical vulnerability in Amasty Order Attributes for Magento 2, published on 12 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Amasty Order Attributes for Magento 2 before version 4.0.0 contains an unauthenticated arbitrary file upload vulnerability that allows unauthenticated attackers to write arbitrary files to the store's media directory by submitting files of any type or name to the upload endpoint without authentication, session validation, or cart context. Attackers can upload PHP files to achieve remote code execution on servers where the media directory permits PHP execution, or alternatively enable malware hosting, stored cross-site scripting via HTML or SVG uploads, and path traversal to write files outside the intended upload directory.

Weakness: CWE-434

Which versions are affected by CVE-2026-53787?

How do I fix CVE-2026-53787?

No fix has been published for CVE-2026-53787 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-53787 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53787 exists.

Public exploit code: 1 Nuclei template and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-mgg8-gq8g-gq88.

Is CVE-2026-53787 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free