CVE-2026-117569 Details
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.
An OS command injection vulnerability has been identified in Kali-GPT versions through a608c74. The issue resides in the MCP server tool execution, where user-supplied parameters are not properly sanitized before being executed as shell commands. This vulnerability allows MCP clients to inject arbitrary commands via various parameters, including target, ports, domain, wordlist, and URL. The injected commands are executed with the privileges of the MCP server user, bypassing any safety controls that may exist in the interactive command-line interface.
The vulnerability can be fixed by validating and sanitizing user inputs before execution. Implementing allowlists for parameters and using list-form subprocess commands to avoid shell injection are recommended approaches.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 27, 2026CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/alishahid74/kali-gpt/issues/12 | CISA-ADP | ExploitIssue TrackingTechnical AnalysisVendor |
| https://github.com/alishahid74/kali-gpt | [email protected] | Source CodeVendor |
| https://github.com/alishahid74/kali-gpt/blob/a608c74e99910232dd208fee99de860458672b82/kali_gpt/tools/mcp_server.py#L229-L356 | [email protected] | Source CodeVendor |
| https://github.com/alishahid74/kali-gpt/issues/12 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/kali-gpt-through-commit-a608c74-os-command-injection-via-mcp-scanner-tool-parameters | [email protected] | AdvisoryBundleVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Kali-GPT | <= a608c74e99910232dd208fee99de860458672b82 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Oct 27, 2026 | New CVE Received | [email protected] |
Volerion