Arbitrary Command Injection Affecting @elgentos/magento2-dev-mcp package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELGENTOSMAGENTO2DEVMCP-15954329
  • published9 Apr 2026
  • disclosed6 Apr 2026
  • creditUnknown

Introduced: 6 Apr 2026

NewCVE-2026-5603  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

@elgentos/magento2-dev-mcp is a Magento 2 Development MCP Server for AI agents - provides cache management, module tools, and system diagnostics

Affected versions of this package are vulnerable to Arbitrary Command Injection via the executeMagerun2Command function. An attacker can execute arbitrary system commands by supplying crafted input locally.

CVSS Base Scores

version 4.0
version 3.1