Impact
Kali‑GPT contains an OS command injection flaw where unsanitized parameters such as target, ports, domain, wordlist, or url are passed to subprocess.run with shell=True inside execute_tool(). An attacker or a prompt‑injected agent can embed shell metacharacters in these parameters, causing arbitrary OS commands to run as the MCP server user and potentially leading to full system compromise.
Affected Systems
The vulnerability targets the Kali‑GPT project, specifically the MCP Server component developed by alishahid74. It is present in any deployment that includes commit a608c74 of the codebase; no additional vendors or products are listed in the CNA data, making the affected scope limited to users running this particular commit.
Risk and Exploitability
The CVSS Base score of 8.5 denotes high severity. The EPSS score is not available and the issue is not listed in CISA’s KEV catalog, implying limited observed exploitation. The flaw is remotely exploitable by any MCP client that can send scanner parameters to the server; the required action is merely to supply crafted parameter values. Since the malicious command executes with the privileges of the MCP server process, a successful injection grants full control over the host where the server runs.
OpenCVE Enrichment