CVE-2026-53787 is a critical (CVSS 9.8) unauthenticated arbitrary file upload flaw in Amasty Order Attributes for Magento 2 before version 4.0.0. On some servers it can lead to remote code execution.
What Is It
The bug is in Amasty's Order Attributes extension for Magento 2. According to the NVD record, its upload endpoint accepts files of any type or name. It does not require authentication, session validation, or cart context. An unauthenticated attacker can therefore write arbitrary files to the store's media directory. The weakness is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type).
VulnCheck disclosed the issue. The record was published on 2026-06-12 and still shows the status "Awaiting Analysis."
Why It Matters
- Severity: CVSS 3.1 rates it 9.8 CRITICAL (
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), and CVSS 4.0 rates it 9.3 CRITICAL. It can be attacked over the network, the attack is simple, and it needs no privileges or user interaction. - Remote code execution: if the media directory allows PHP to run, an attacker could upload a PHP file and execute code on the server.
- Other abuse: even where PHP can't run in the media directory, the flaw could potentially be used to host malware or to plant stored cross-site scripting through HTML or SVG uploads.
- Exploitation status: CISA's SSVC assessment (2026-06-13) lists exploitation as "none," automatable as "yes," and technical impact as "total." CVE-2026-53787 does not appear in the CISA Known Exploited Vulnerabilities (KEV) catalog, so KEV does not confirm active exploitation of this CVE. Because the flaw is automatable and needs no authentication, it is still an attractive target for opportunistic scanning of Magento stores.
What's Vulnerable
- Vendor: Amasty
- Product: Order Attributes for Magento 2
- Affected versions: all versions before 4.0.0 (semver
0to< 4.0.0)
The NVD record does not yet list any affected CPEs.
Patch Status
The published affected range ends at 4.0.0, which suggests that version 4.0.0 and later contain the fix. This brief has not independently confirmed that. Merchants running this extension should upgrade to 4.0.0 or newer and check the vendor's release notes to confirm the fix. CVE-2026-53787 does not appear in the CISA KEV catalog, so no federal remediation deadline or required action applies.
Until the upgrade is done, administrators should check whether the store's media directory allows PHP execution. That setting decides whether the flaw can reach remote code execution. The vendor and researcher links below have more detail.
Sources
- NVD – CVE-2026-53787
- CVE.org – CVE-2026-53787
- VulnCheck Advisory – Amasty Order Attributes for Magento 2 Unauthenticated Arbitrary File Upload
- Sansec Research – Amasty Order Attributes File Upload
- Amasty – Order Attributes for Magento 2 (product page)
- CISA Known Exploited Vulnerabilities Catalog (checked for CVE-2026-53787; no entry)