CVE-2026-53787
Awaiting Analysis Awaiting Analysis - Queue
Unauthenticated Arbitrary File Upload in Amasty Order Attributes for Magento 2

Publication date: 2026-06-12

Last updated on: 2026-06-12

Assigner: VulnCheck

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-12
Last Modified
2026-06-12
Generated
2026-06-12
AI Q&A
2026-06-12
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
amasty order_attributes to 4.0.0 (exc)
adobe commerce to 3.16.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-53787 is a critical security flaw in Amasty Order Attributes for Magento 2 versions before 4.0.0. It allows unauthenticated attackers to upload arbitrary files of any type or name to the store's media directory without any authentication, session validation, or cart context.

Because the media directory may permit PHP execution, attackers can upload malicious PHP files to execute remote code on the server. Alternatively, attackers can use this vulnerability to host malware, perform stored cross-site scripting attacks via HTML or SVG file uploads, or exploit path traversal to write files outside the intended upload directory.

Compliance Impact

The vulnerability allows unauthenticated attackers to upload arbitrary files, including executable PHP files, to the store's media directory. This can lead to remote code execution, malware hosting, stored cross-site scripting, and path traversal attacks.

Such security breaches can result in unauthorized access to sensitive customer data, data manipulation, or data leakage, which may violate data protection regulations like GDPR and HIPAA that require strict controls over data confidentiality, integrity, and availability.

Therefore, failure to patch this vulnerability or mitigate its risks could lead to non-compliance with these standards due to potential data breaches and insufficient security controls.

Impact Analysis

This vulnerability can have severe impacts including remote code execution on your server if PHP files are uploaded and executed from the media directory.

  • Attackers can gain full control over the server by executing arbitrary code.
  • Malware can be hosted on your site, potentially infecting visitors.
  • Stored cross-site scripting (XSS) attacks can be performed via malicious HTML or SVG uploads, compromising user data and site integrity.
  • Path traversal can allow attackers to write files outside the intended upload directory, potentially overwriting critical files.

The attack requires no credentials and can be automated, increasing the risk and ease of exploitation.

Detection Guidance

This vulnerability can be detected by scanning the store's media directory for unauthorized or suspicious files, especially PHP files that should not be present. Since attackers can upload arbitrary files without authentication, checking for unexpected file types or recently added files in the media directory is important.

Commands to help detect potential exploitation include searching for PHP files in the media directory and checking web server logs for suspicious upload requests.

  • Find PHP files in the media directory (Linux): find /path/to/magento/pub/media -type f -name '*.php'
  • Check for recently modified or created files: find /path/to/magento/pub/media -type f -mtime -7
  • Review web server access logs for suspicious POST requests to upload endpoints.

Additionally, deploying real-time protection tools like Sansec Shield can help detect and block malicious uploads before they reach the server.

Mitigation Strategies

Immediate mitigation steps include updating Amasty Order Attributes for Magento 2 to version 4.0.0 or later, which contains fixes including stricter upload validation and a new mandatory attribute_code parameter.

Other important steps are:

  • Restrict PHP execution in the media directory to prevent uploaded PHP files from being executed.
  • Deploy real-time protection solutions such as Sansec Shield to block malicious file uploads before they reach the server.
  • Scan your system for signs of compromise, including unauthorized files or malware.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-53787. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart