@elgentos/magento2-dev-mcp vulnerable to command injection
Date: 2026-04
Affected: npm/@elgentos/magento2-dev-mcp
Attack vector: command-injection
Category: vulnerability-disclosure
Severity: Low
CVE: CVE-2026-5603
CWE: CWE-77
CVSS: 5.3 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L)

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.


Mitigations:

Architectural layers (MAESTRO):