Vulnerabilities in pkg:npm/@elgentos/magento2-dev-mcp
PACKAGECVE-2026-5603 is a LOW (CVSS 5.3) @elgentos/magento2-dev-mcp vulnerable to command injection vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting @elgentos/magento2 dev mcp libraries in the npm ecosystem. The issue involves @elgentos/magento2-dev-mcp vulnerable to command injection. Remediation is available in the latest vendor maintenance releases.
pkg:npm/@elgentos/magento2-dev-mcp
Vulnerability advisories affecting package pkg:npm/@elgentos/magento2-dev-mcp. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-xqv9-qr76-hfq2 | CVE-2026-5603 | LOW | @elgentos/magento2-dev-mcp vulnerable to command injection |
CVE-2026-5603 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2026-5603
To remediate this vulnerability, upgrade all affected @elgentos/magento2 dev mcp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @elgentos/magento2-dev-mcp@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @elgentos/magento2-dev-mcp
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-5603, inspect your project dependencies using npm:
npm ls @elgentos/magento2-dev-mcp
Analyze the terminal output to locate any version of @elgentos/magento2 dev mcp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls @elgentos/magento2-dev-mcp command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In @elgentos/magento2 dev mcp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-5603 Affected @elgentos/magento2 dev mcp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@elgentos/magento2-dev-mcp
|
npm |
≤ 1.0.2
|
|
References
Frequently Asked Questions
What is CVE-2026-5603?
Which @elgentos/magento2 dev mcp versions are affected?
What version fixes CVE-2026-5603?
Is @elgentos/magento2-dev-mcp affected?
What is the CVSS score of CVE-2026-5603?
What CWE is associated with CVE-2026-5603?
How can I check npm dependencies for CVE-2026-5603?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xqv9-qr76-hfq2",
"modified" : "2026-04-06T18:02:40Z",
"published" : "2026-04-06T00:30:24Z",
"aliases" : [ "CVE-2026-5603" ],
"summary" : "@elgentos/magento2-dev-mcp vulnerable to command injection",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@elgentos/magento2-dev-mcp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-5603"
}, {
"type" : "WEB",
"url" : "https://github.com/elgentos/magento2-dev-mcp/issues/4"
}, {
"type" : "WEB",
"url" : "https://github.com/elgentos/magento2-dev-mcp/pull/5"
}, {
"type" : "WEB",
"url" : "https://github.com/elgentos/magento2-dev-mcp/commit/aa1ffcc0aea1b212c69787391783af27df15ae9d"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/elgentos/magento2-dev-mcp"
}, {
"type" : "WEB",
"url" : "https://github.com/user-attachments/files/25895777/magento2-dev-mcp_bug.pdf"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/submit/784864"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/355395"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/355395/cti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-06T18:02:40Z",
"nvd_published_at" : "2026-04-05T23:16:20Z"
}
}