{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:agent-zero:agent-zero:0.9.8:-:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0.9.8-NA"
              },
              {
                "last_affected": "0.9.8-NA"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "0160fd06ce2e60b3715875155c194e4f10b5c8ef"
            },
            {
              "last_affected": "0160fd06ce2e60b3715875155c194e4f10b5c8ef"
            }
          ],
          "repo": "https://github.com/agent0ai/agent-zero",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.9.8-NA"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30624.json"
  },
  "details": "Agent Zero 0.9.8 contains a remote code execution vulnerability in its External MCP Servers configuration feature. The application allows users to define MCP servers using a JSON configuration containing arbitrary command and args values. These values are executed by the application when the configuration is applied without sufficient validation or restriction. An attacker may supply a malicious MCP configuration to execute arbitrary operating system commands, potentially resulting in remote code execution with the privileges of the Agent Zero process.",
  "id": "CVE-2026-30624",
  "modified": "2026-07-15T01:49:14.824488730Z",
  "published": "2026-04-15T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30624.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30624"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem/"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H",
      "type": "CVSS_V3"
    }
  ]
}