CVE-2025-58449

Maho Vulnerable to Authenticated Remote Code Execution via File Upload

State
Published
Severity
8.7 High
Published
Sep 8, 2025
Updated
Sep 9, 2025
Reserved
Sep 1, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HGitHub_M

Weaknesses

  • CWE-646 Reliance on File Name or Extension of Externally-Supplied File

Affected Products

ProductVersions
mahoMahoCommerce
  • < 25.9.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.