{"id":"CVE-2025-58449","state":"PUBLISHED","title":"Maho Vulnerable to Authenticated Remote Code Execution via File Upload","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.","publishedAt":"2025-09-08T21:27:55.103Z","updatedAt":"2025-09-09T13:30:56.695Z","severity":{"score":8.7,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["MahoCommerce maho"],"affected":[{"vendor":"MahoCommerce","product":"maho","versions":[{"version":"< 25.9.0","status":"affected"}]}],"references":["https://github.com/MahoCommerce/maho/security/advisories/GHSA-vgmm-27fc-vmgp","https://github.com/MahoCommerce/maho/commit/db54a1b44e9b3fd26b27ca4d5ece0af99c4dcb53"],"weaknesses":["CWE-646"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/58xxx/CVE-2025-58449.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-58449","state":"PUBLISHED","datePublished":"2025-09-08T21:27:55.103Z","dateUpdated":"2025-09-09T13:30:56.695Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-09-01T20:03:06.533Z"},"containers":{"cna":{"title":"Maho Vulnerable to Authenticated Remote Code Execution via File Upload","descriptions":[{"lang":"en","value":"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":[{"vendor":"MahoCommerce","product":"maho","versions":[{"version":"< 25.9.0","status":"affected"}]}],"references":[{"url":"https://github.com/MahoCommerce/maho/security/advisories/GHSA-vgmm-27fc-vmgp","name":"https://github.com/MahoCommerce/maho/security/advisories/GHSA-vgmm-27fc-vmgp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MahoCommerce/maho/commit/db54a1b44e9b3fd26b27ca4d5ece0af99c4dcb53","name":"https://github.com/MahoCommerce/maho/commit/db54a1b44e9b3fd26b27ca4d5ece0af99c4dcb53","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"HIGH","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-646","lang":"en","description":"CWE-646: Reliance on File Name or Extension of Externally-Supplied File","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-09-08T21:27:55.103Z"},"source":{"advisory":"GHSA-vgmm-27fc-vmgp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/MahoCommerce/maho/security/advisories/GHSA-vgmm-27fc-vmgp","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-09T13:16:26.268809Z","id":"CVE-2025-58449","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-09T13:30:56.695Z"}}]}}}