Impact
The flaw is an OS command injection in the MCP Configuration Loader component of Moonshot AI Kimi Code. It allows an attacker to supply malicious input that is executed by the underlying operating system. This vulnerability falls under CWE-77 and CWE-78, meaning that arbitrary commands can be run with the privileges of the application. If exploited, an attacker can gain full control of the host, exfiltrate data, or deploy further malware.
Affected Systems
Moonshot AI Kimi Code versions up to and including 0.31.0 are affected. The issue was resolved in 0.31.1. No other products or versions are listed as vulnerable.
Risk and Exploitability
The CVSS score of 5.3 reflects a moderate severity. The EPSS score is 2%, but a public exploit has been released, indicating that an attacker could launch the attack remotely through the untrusted .mcp.json auto-spawn mechanism or by planting binaries in the $PATH before the trust prompt is confirmed. Because it is not listed in CISA’s KEV catalog, it has not yet been widely reported by CISA, yet the presence of a public exploit warrants prompt attention.
OpenCVE Enrichment