CVE-2026-5603 Details
Description
A vulnerability was identified in elgentos magento2-dev-mcp up to 1.0.2. The affected element is the function executeMagerun2Command of the file src/index.ts. Such manipulation leads to os command injection. An attack has to be approached locally. The exploit is publicly available and might be used. The name of the patch is aa1ffcc0aea1b212c69787391783af27df15ae9d. A patch should be applied to remediate this issue.
A command injection vulnerability exists in Elgentos Magento2-Dev-Mcp versions through 1.0.2. The issue arises in the 'executeMagerun2Command' function within 'src/index.ts', where user-controlled input is improperly sanitized before being executed as a command. This vulnerability can be exploited locally, with the injected commands running under the same privileges as the MCP server process.
A patch for this vulnerability has been applied and is available in the 'elgentos/magento2-dev-mcp' repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 5, 2026CISA-ADP
Assessed Apr 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/elgentos/magento2-dev-mcp/ | [email protected] | ProductSource CodeVendor |
| https://github.com/elgentos/magento2-dev-mcp/commit/aa1ffcc0aea1b212c69787391783af27df15ae9d | [email protected] | Source CodeVendor |
| https://github.com/elgentos/magento2-dev-mcp/issues/4 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/elgentos/magento2-dev-mcp/pull/5 | [email protected] | Issue TrackingVendor |
| https://github.com/user-attachments/files/25895777/magento2-dev-mcp_bug.pdf | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/784864 | [email protected] | Technical Description |
| https://vuldb.com/vuln/355395 | [email protected] | AdvisoryExploitRemedy |
| https://vuldb.com/vuln/355395/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| elgentos magento2-dev-mcp | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 5, 2026 | New CVE Received | [email protected] |
Volerion