# CVE-2026-5603: elgentos magento2-dev-mcp index.ts executeMagerun2Command os command injection

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.99%, higher than 63% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-05T22:30:16.507Z
- Modified: 2026-07-24T20:10:00.147Z
- Also known as: GHSA-xqv9-qr76-hfq2
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- elgentos magento2-dev-mcp: 1.0.0; 1.0.1; 1.0.2
- @elgentos/magento2-dev-mcp (npm): up to 1.0.2

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- GitHub: CVSS:3.1 5.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/user-attachments/files/25895777/magento2-dev-mcp_bug.pdf> (exploit, web)
- <https://vuldb.com/vuln/355395> (technical-description, vdb-entry, web)
- <https://vuldb.com/vuln/355395/cti> (permissions-required, signature, web)
- <https://vuldb.com/submit/784864> (third-party-advisory, web)
- <https://github.com/elgentos/magento2-dev-mcp/issues/4> (issue-tracking, web)
- <https://github.com/elgentos/magento2-dev-mcp/pull/5> (issue-tracking, patch, web)
- <https://github.com/elgentos/magento2-dev-mcp/commit/aa1ffcc0aea1b212c69787391783af27df15ae9d> (patch, web)
- <https://github.com/elgentos/magento2-dev-mcp/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5603> (advisory)
- <https://github.com/elgentos/magento2-dev-mcp> (package)

## Sources

- CVE List: [CVE-2026-5603](https://www.cve.org/CVERecord?id=CVE-2026-5603), CVE Terms of Use, modified 2026-04-06
- GitHub Advisory Database: [GHSA-xqv9-qr76-hfq2](https://github.com/advisories/GHSA-xqv9-qr76-hfq2), CC-BY-4.0, modified 2026-04-06
- NVD: [CVE-2026-5603](https://nvd.nist.gov/vuln/detail/CVE-2026-5603), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-5603 · Whole record: https://cve.day/CVE-2026-5603.json · Rebuilt by cve.day 2026-11-25T22:59:17.974Z
