Vulnerability · Published Sep 22, 2026 · Assigned by VulDB
CVE-2026-95660Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection
Medium 6.3
In plain English
A medium-severity OS command injection in Kimi Code from Moonshot AI. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Moonshot AI | Kimi Code | 0.10.20.30.40.50.60.70.8 |
Weakness: CWE-78, CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-408415 | Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection vdb-entry
- VDB-408415 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-95660 | CVE Analysis and Report third-party-advisory
- Submit #897071 | Moonshot AI Kimi Code 0.27.0 Code Injection third-party-advisory
- https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?usp=sharing exploit
- https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.31.1 patch
- https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?tab=t.0 exploit