{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.0.2"
              },
              {
                "last_affected": "1.0.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "4c2f440fcdfe8632fe052b329452f3324ffb321e"
            },
            {
              "fixed": "aa1ffcc0aea1b212c69787391783af27df15ae9d"
            }
          ],
          "repo": "https://github.com/elgentos/magento2-dev-mcp",
          "type": "GIT"
        }
      ],
      "versions": [
        "1.0.2"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-77",
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5603.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "1.0.0"
          },
          {
            "last_affected": "1.0.0"
          },
          {
            "introduced": "1.0.1"
          },
          {
            "last_affected": "1.0.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "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.",
  "id": "CVE-2026-5603",
  "modified": "2026-07-27T03:56:16.798677204Z",
  "published": "2026-04-05T22:30:16.507Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/elgentos/magento2-dev-mcp/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5603.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5603"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/784864"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/355395"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/elgentos/magento2-dev-mcp/issues/4"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/355395/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/elgentos/magento2-dev-mcp/commit/aa1ffcc0aea1b212c69787391783af27df15ae9d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/elgentos/magento2-dev-mcp/pull/5"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/user-attachments/files/25895777/magento2-dev-mcp_bug.pdf"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "elgentos magento2-dev-mcp index.ts executeMagerun2Command os command injection"
}