Vulnerability · Published Sep 8, 2025 · Assigned by GitHub_M
CVE-2025-58449Maho Vulnerable to Authenticated Remote Code Execution via File Upload
High 8.7
In plain English
A high-severity security flaw in maho from MahoCommerce. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | mahocommerce/maho | 25.9.0 | GHSA-vgmm-27fc-vmgp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MahoCommerce | maho | < 25.9.0 |
Weakness: CWE-646 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H