Skip to main content
CVE-2025-58449VulnerabilityPublished

CVE-2025-58449: MahoCommerce maho · Reliance on File Name or Extension of Externally-Supplied File

Affects MahoCommerce mahoSource CVE Database V5

0

Not known to be exploited · CVSS 8.7 High : upgrade to 25.9.0 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 25.9.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade MahoCommerce maho to 25.9.0.

Affected software

ProductAffectedFixed in
MahoCommerce mahoAffected
  • <25.9.0
Fixed in
  • 25.9.0

AI-suggested

European organizations should immediately upgrade MahoCommerce maho to version 25.9.0 or later to remediate this vulnerability. Until patching is possible, implement strict access controls to limit staff permissions only to necessary users and monitor for unusual activity in the Dashboard and Catalog management areas. Employ web application firewalls (WAFs) with rules to detect and block suspicious file uploads, especially those attempting to upload PHP or other executable scripts. Conduct regular audits of uploaded files and remove any unauthorized or suspicious files. Enforce multi-factor authentication (MFA) for staff accounts to reduce risk of credential compromise. Additionally, implement file type validation based on file content (MIME type checking) rather than relying on file extensions. Logging and alerting should be enhanced to detect attempts to create or modify custom options with file inputs. Finally, conduct security awareness training for staff to recognize phishing or social engineering attempts that could lead to account compromise.

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.

References

Community reviews

Loading reviews…