Maho Vulnerable to Authenticated Remote Code Execution via File Upload
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-58449
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:54 UTC · Revision 1
Source evidence
Maho Vulnerable to Authenticated Remote Code Execution via File Upload
core-osv · Original sourcePublished 8 Sept 2025, 21:27 UTC
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.
osv:CVE-2025-58449
Complete source record
{
"id": "7cf333ed58ceee8f83996831d03c5b0073d753f06575d23187356a2e32171c89",
"url": "https://osv.dev/vulnerability/CVE-2025-58449",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Maho Vulnerable to Authenticated Remote Code Execution via File Upload",
"summary": "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.",
"evidence": "osv:CVE-2025-58449",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-58449",
"aliases": [
"CVE-2025-58449",
"GHSA-vgmm-27fc-vmgp"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mahocommerce/maho",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d596aef0508844d1ab28a12720a0552af37ed1aa"
},
{
"fixed": "db54a1b44e9b3fd26b27ca4d5ece0af99c4dcb53"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "25.9.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "db54a1b44e9b3fd26b27ca4d5ece0af99c4dcb53"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"25.7.0",
"25.5.0",
"25.3.0",
"25.1.0",
"24.11.0",
"24.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58449.json"
}
}
],
"modified": "2026-10-28T02:30:26.332760699Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58449.json",
"https://github.com/MahoCommerce/maho/security/advisories/GHSA-vgmm-27fc-vmgp",
"https://nvd.nist.gov/vuln/detail/CVE-2025-58449",
"https://github.com/MahoCommerce/maho/commit/db54a1b44e9b3fd26b27ca4d5ece0af99c4dcb53"
],
"provider_metadata": {
"cwe_ids": [
"CWE-646"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58449.json"
}
},
"related_cves": [
{
"value": "CVE-2025-58449",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492886,
"published_at": "2025-09-08T21:27:55.103+00:00"
}