SecurityContext

CVE-2025-58449: Maho - Remote Code Execution

  • Cve: CVE-2025-58449
  • Name: Maho - Remote Code Execution
  • 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.
  • Impact: Authenticated staff users can upload malicious PHP files, leading to remote code execution and full server compromise.
  • Remediation: Update to version 25.9.0 or later.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker must be an authenticated staff user with Dashboard and Catalog\Manage Products permissions
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.7
  • Cvss 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00307
  • Epss percentile: 0.23895
  • Assignee: [email protected]
  • Published at: 2025-09-08T22:15:34Z
  • Age in days: 442
  • Modified at: 2026-06-17T09:44:28Z
  • References total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-58449
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

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

References

UrlSourceTags
https://github.com/MahoCommerce/maho/commit/db54a1b44e9b3fd26b27ca4d5ece0af99c4dcb53nvd
https://github.com/MahoCommerce/maho/security/advisories/GHSA-vgmm-27fc-vmgpnvd

Projects

RepositoryLink kindsIndexedUrl
MahoCommerce/mahocommit, fix, package, security_advisoryyes/v1/repositories/MahoCommerce/maho

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts