Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
2.1

CVE-2026-95660: Moonshot AI Kimi Code allows remote command execution

CVE-2026-95660 · published 27 days ago
Summary

Versions of Moonshot AI Kimi Code up to 0.31.0 let an attacker trigger the system to run arbitrary operating system commands through a faulty configuration loader. This can be done from outside your network, potentially giving attackers control over the affected server. Update the software to version 0.31.1 as soon as possible to close the weakness.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
moonshot ai kimi code 0.1
Original advisory text
Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection
A security flaw has been discovered in Moonshot AI Kimi Code up to 0.31.0. The affected element is an unknown function of the file agent-core-v2/src/agent/mcp/config-loader.ts of the component MCP Configuration Loader. The manipulation results in os command injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 0.31.1 is sufficient to fix this issue. It is recommended to upgrade the affected component. Beyond the trust prompt, the fix resolves fd/stty binaries to absolute paths specifically "so untrusted workspaces cannot plant bare-name executables before confirmation," fixing a secondary $PATH path-planting vector alongside the primary untrusted-.mcp.json auto-spawn.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
2.1 Low
Exploitation
2% chance of attack within 30 days
Type
CWE-78OS Command Injection
CWE-77Command Injection
Timeline
Published22 Sep 2026
Updated15 Oct 2026
First seen22 Sep 2026
Sources
CVE-2026-95660 · MITRE
Track software like this
Free during beta