RCE in Elgentos Magento2-Dev-Mcp
CVE-2026-5603
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.011 (64.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 64.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.011 · change: +0.002
Affected products
- Elgentos Magento2-Dev-Mcp — versions 1.0.0, 1.0.1, 1.0.2
Weakness classification (CWE)
References
- vuldb.com/vuln/355395 (technical-description, vdb-entry)
- vuldb.com/vuln/355395/cti (signature, permissions-required)
- vuldb.com/submit/784864 (third-party-advisory)
- github.com/elgentos/magento2-dev-mcp/issues/4 (issue-tracking)
- github.com/elgentos/magento2-dev-mcp/pull/5 (issue-tracking, patch)
- github.com/user-attachments/files/25895777/magento2-dev-mcp_bug.pdf (exploit)
- github.com/elgentos/magento2-dev-mcp/commit/aa1ffcc0aea1b212c69787391783af27df1… (patch)
- github.com/elgentos/magento2-dev-mcp/ (product)
Frequently asked questions
- What is CVE-2026-5603?
- CVE-2026-5603 is a medium-severity vulnerability in Elgentos Magento2-Dev-Mcp, classified under Command Injection. CVSS score: 5.3/10. Published 2026-04-05.
- How severe is CVE-2026-5603?
- Medium severity. CVSS v3 base score is 5.3 out of 10.