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.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.3%top 76.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Packagistmahocommerce/maho25.9.0GHSA-vgmm-27fc-vmgp

Affected products (as reported)

VendorProductVersions
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

References