Vulnerability · Published Apr 5, 2026 · Assigned by VulDB
CVE-2026-5603elgentos magento2-dev-mcp index.ts executeMagerun2Command os command injection
Medium 5.3
In plain English
A medium-severity OS command injection in magento2-dev-mcp from elgentos. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @elgentos/magento2-dev-mcp | no fix listed | GHSA-xqv9-qr76-hfq2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| elgentos | magento2-dev-mcp | 1.0.01.0.11.0.2 |
Weakness: CWE-78, CWE-77 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-355395 | elgentos magento2-dev-mcp index.ts executeMagerun2Command os command injection vdb-entry, technical-description
- VDB-355395 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #784864 | elgentos magento2-dev-mcp <=1.0.2 Command Injection third-party-advisory
- https://github.com/elgentos/magento2-dev-mcp/issues/4 issue-tracking
- https://github.com/elgentos/magento2-dev-mcp/pull/5 issue-tracking, patch
- https://github.com/user-attachments/files/25895777/magento2-dev-mcp_bug.pdf exploit
- https://github.com/elgentos/magento2-dev-mcp/commit/aa1ffcc0aea1b212c69787391783af27df15ae9d patch
- https://github.com/elgentos/magento2-dev-mcp/ product