CVE-2026-117569

Kali-GPT through commit a608c74 OS Command Injection via MCP Scanner Tool Parameters

Published Oct 27, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
Kali-GPT through commit a608c74 contains an OS command injection vulnerability in execute_tool() in kali_gpt/tools/mcp_server.py that allows MCP clients to run commands via unsanitized scanner parameters. Attackers or prompt-injected agents can embed shell metacharacters in parameters like target, ports, domain, wordlist, or url, executed via subprocess.run with shell=True as the MCP server user.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Kali‑GPT to a version that removes the vulnerable execute_tool() logic introduced in commit a608c74.
  • If an update is not immediately possible, modify execute_tool() to invoke subprocess.run without shell=True and enforce strict validation or escaping of all scanner parameters to eliminate shell metacharacter execution.
  • Restrict MCP client connections to trusted hosts or apply network segmentation so that only authorized clients can communicate with the MCP server, thereby reducing the attack surface.

Generated by OpenCVE AI on October 27, 2026 at 14:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Alishahid74
Alishahid74 kali-gpt
Vendors & Products Alishahid74
Alishahid74 kali-gpt
Type Values Removed Values Added
Description Kali-GPT through commit a608c74 contains an OS command injection vulnerability in execute_tool() in kali_gpt/tools/mcp_server.py that allows MCP clients to run commands via unsanitized scanner parameters. Attackers or prompt-injected agents can embed shell metacharacters in parameters like target, ports, domain, wordlist, or url, executed via subprocess.run with shell=True as the MCP server user.
Title Kali-GPT through commit a608c74 OS Command Injection via MCP Scanner Tool Parameters
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 5, 2026, 3:55 PM
Reserved
Oct 27, 2026, 11:25 AM
Status
Deferred
Published
Oct 27, 2026, 2:16 PM
Modified
Nov 5, 2026, 4:17 PM