CVE-2025-58449 Maho Vulnerable to Authenticated Remote Code Execution via File Upload
HighCVSS 8.7
EPSS 0.46%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mahocommerce/maho(Packagist) | < 25.9.0; = 24.9.0; = 24.11.0; = 25.1.0 +3 more | 25.9.0 | Fixed |
| mahocommerce/maho | = < 25.9.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mahocommerce/maho(Packagist) | < 25.9.0 | 25.9.0 |
| mahocommerce/maho(Packagist) | = 24.11.0 | No fix listed |
| mahocommerce/maho(Packagist) | = 24.9.0 | No fix listed |
| mahocommerce/maho(Packagist) | = 25.1.0 | No fix listed |
| mahocommerce/maho(Packagist) | = 25.3.0 | No fix listed |
| mahocommerce/maho(Packagist) | = 25.5.0 | No fix listed |
| mahocommerce/maho(Packagist) | = 25.7.0 | No fix listed |
| mahocommerce/maho | = < 25.9.0 | No fix listed |
References
- https://github.com/MahoCommerce/maho/security/advisories/GHSA-vgmm-27fc-vmgp exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/MahoCommerce/maho/commit/db54a1b44e9b3fd26b27ca4d5ece0af99c4dcb53 patch
- github.com product
- github.com