Skip to content
OpenAdvisories
High · 8.7 CVE-2025-58449 EUVD-2025-27272GHSA-vgmm-27fc-vmgp

Maho Vulnerable to Authenticated Remote Code Execution via File Upload

Published Sep 8, 2025 · Updated Sep 9, 2025 · Assigned by GitHub_M

Description

Maho is a free and open source ecommerce platform. In Maho prior to 25.9.0, an authenticated staff user with access to the `Dashboard` and `Catalog\Manage Products` permissions can create a custom option on a listing with a file input field. By allowing file uploads with a `.php` extension, the user can use the filed to upload malicious PHP files, gaining remote code execution. Version 25.9.0 fixes the issue.

Affected products

VendorProductAffectedFixed
MahoCommerce maho < 25.9.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist mahocommerce/maho < 25.9.0 25.9.0 GHSA-vgmm-27fc-vmgp

References