Severity by source
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
7DescriptionCVE.org
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.
AnalysisAI
OS command injection in elgentos magento2-dev-mcp up to version 1.0.2 allows local authenticated users to execute arbitrary system commands through the executeMagerun2Command function in src/index.ts. The vulnerability requires local access and valid user privileges but grants low-impact code execution capabilities. Publicly available exploit code exists, and vendor-released patch is available.
Technical ContextAI
The vulnerability exists in the executeMagerun2Command function of the magento2-dev-mcp package, a Magento 2 developer tool. The root cause is OS command injection (CWE-78), where user-controlled input is passed unsanitized to system command execution without proper sanitization or escaping. The affected product is a Node.js module (CPE:2.3:a:elgentos:magento2-dev-mcp:*:*:*:*:*:*:*:*) used in development environments to execute Magerun2 commands. The attack vector is local (AV:L) and does not require elevated privileges (PR:L indicates low privilege requirement), meaning any authenticated local user with access to the development environment can exploit this flaw.
RemediationAI
Vendor-released patch: update elgentos magento2-dev-mcp to a version containing commit aa1ffcc0aea1b212c69787391783af27df15ae9d or later. The patch is available via the upstream repository at https://github.com/elgentos/magento2-dev-mcp/pull/5 and committed at https://github.com/elgentos/magento2-dev-mcp/commit/aa1ffcc0aea1b212c69787391783af27df15ae9d. Users should upgrade to the patched version immediately via npm or their package manager. Until patched, restrict local access to systems running magento2-dev-mcp and audit usage in CI/CD pipelines to ensure the tool is not exposed to untrusted input sources.
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-19136
GHSA-xqv9-qr76-hfq2