A vulnerability was found in elgentos magento2-dev-mcp up to 1.0.2 and classified as critical. The affected element is the function executeMagerun2Command of the file src/index.ts. Such manipulation leads to os command injection.

This vulnerability is traded as CVE-2026-5603. An attack has to be approached locally. Furthermore, there is an exploit available.

A patch should be applied to remediate this issue.