CVE-2026-117569
7.8 HIGHpublic exploit availablePublished 2026-10-27 · Updated 2026-10-27
AI risk analysis
- Summary
- Kali-GPT contains an OS command injection flaw in its execute_tool() function where unsanitized user-controlled parameters (e.g., target, ports, domain) are passed directly to subprocess.run with shell=True, enabling attackers or prompt-injected agents to execute arbitrary commands as the MCP server user.
- Exploitability
- Exploitation requires local access and low privileges (PR:L), with attackers needing to inject shell metacharacters into tool parameters via MCP client requests or prompt injection.
- Blast radius
- Successful exploitation allows full compromise of the affected system—including confidentiality, integrity, and availability—as the attacker gains the privileges of the MCP server user.
- Detection
- Monitor for subprocess calls with shell=True in mcp_server.py logs, especially those containing shell metacharacters (e.g., ;, |, &, $(), backticks) in parameters like target, ports, or domain; also watch for unexpected child processes spawned by the MCP server process.
- Prioritized remediation
- Upgrade to Kali-GPT commit a608c75 or later, which removes shell=True and sanitizes inputs; if upgrading is not possible, disable the affected MCP server functionality until a patch is applied.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Public exploit & PoC references
All references
- https://github.com/alishahid74/kali-gpt
- https://github.com/alishahid74/kali-gpt/blob/a608c74e99910232dd208fee99de860458672b82/kali_gpt/tools/mcp_server.py#L229-L356
- https://github.com/alishahid74/kali-gpt/issues/12
- https://www.vulncheck.com/advisories/kali-gpt-through-commit-a608c74-os-command-injection-via-mcp-scanner-tool-parameters
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-117567PoC
- HIGHCVE-2026-117573PoC
- HIGHCVE-2026-117561PoC
- HIGHCVE-2026-54140PoC
- HIGHCVE-2026-59176PoC
- HIGHCVE-2020-37279PoC
- HIGHCVE-2026-100368PoC
- HIGHCVE-2026-100844PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.