Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-95660: Moonshot AI Kimi Code OS command injection in MCP configuration loader

Identifier
CVE-2026-95660
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.7%

Summary

CVE-2026-95660 is a flaw in Moonshot AI Kimi Code up to 0.31.0, in an unknown function of agent-core-v2/src/agent/mcp/config-loader.ts within the MCP Configuration Loader component. Manipulating it results in OS command injection, and the attack may be launched remotely. The exploit has been released publicly and may be used for attacks.

Mitigation

Upgrade to version 0.31.1. The fix also resolves fd and stty binaries to absolute paths so untrusted workspaces cannot plant bare-name executables before confirmation, addressing a secondary $PATH path-planting vector alongside the primary untrusted-.mcp.json auto-spawn.