CVE-2026-5603elgentos magento2-dev-mcp index.ts executeMagerun2Command os command injection
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.
What to do
npm has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | @elgentos/magento2-dev-mcp | Fix pending | GHSA-xqv9-qr76-hfq2 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- elgentos magento2-dev-mcp: affected: 1.0.0, 1.0.1, 1.0.2
Vendor advisories:
- https://github.com/elgentos/magento2-dev-mcp/pull/5 (patch)
- https://github.com/elgentos/magento2-dev-mcp/commit/aa1ffcc0aea1b212c69787391783af27df15a… (patch)
References
- https://vuldb.com/vuln/355395
- https://vuldb.com/vuln/355395/cti
- https://vuldb.com/submit/784864
- https://github.com/elgentos/magento2-dev-mcp/issues/4
- https://github.com/elgentos/magento2-dev-mcp/pull/5
- https://github.com/user-attachments/files/25895777/magento2-dev-mcp_bug.pdf
- https://github.com/elgentos/magento2-dev-mcp/commit/aa1ffcc0aea1b212c69787391783af27df15ae9d
- https://github.com/elgentos/magento2-dev-mcp/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.