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).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.9%top 39.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npm@elgentos/magento2-dev-mcpno fix listedGHSA-xqv9-qr76-hfq2

Affected products (as reported)

VendorProductVersions
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