{"answers":{"affected":"2 open source packages ship an affected version, including @elgentos/magento2-dev-mcp.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5603 exists.","fix":"No fix has been published for CVE-2026-5603 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-5603 is a medium-severity command injection vulnerability in elgentos magento2-dev-mcp, published on 5 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-5603 and fix it if it is affected.\n\nWhat it is: CVE-2026-5603 is a medium-severity command injection vulnerability in elgentos magento2-dev-mcp, published on 5 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5603 exists.\n\nAffected packages and fixed versions:\n- @elgentos/magento2-dev-mcp (npm): affected all versions up to 1.0.2; no fix listed\n- @elgentos/magento2-dev-mcp (npm): affected all versions up to 1.0.2; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-5603/ (Markdown: https://insights.sbomify.com/CVE-2026-5603/index.md)","id":"CVE-2026-5603","markdown":"https://insights.sbomify.com/CVE-2026-5603/index.md","name":"CVE-2026-5603","record":{"aliases":["GHSA-xqv9-qr76-hfq2"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Magento 2 MCP tool","requires_auth":"low_privilege","summary":"Local attackers can execute arbitrary OS commands via the executeMagerun2Command function in the elgentos magento2-dev-mcp tool.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"elgentos magento2-dev-mcp index.ts executeMagerun2Command os command injection","id":"CVE-2026-5603","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":8,"next":{"headline":"Tenda CH22 Parameter CertLocalPrecreate formCertLocalPrecreate stack-based overflow","id":"CVE-2026-5604"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["1.0.2"],"package":"@elgentos/magento2-dev-mcp","purl":null,"source":"GHSA-xqv9-qr76-hfq2"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["1.0.2"],"package":"@elgentos/magento2-dev-mcp","purl":"pkg:npm/%40elgentos/magento2-dev-mcp","source":"GHSA-xqv9-qr76-hfq2"}],"prev":{"headline":"Nor2-io heim-mcp new_heim_application tools.ts registerTools os command injection","id":"CVE-2026-5602"},"products":["magento2-dev-mcp"],"published":"2026-04-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-06","vendors":["elgentos"]},"summary":"Local attackers can execute arbitrary OS commands via the executeMagerun2Command function in the elgentos magento2-dev-mcp tool.","url":"https://insights.sbomify.com/CVE-2026-5603/"}