Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision
- State
- Published
- Severity
- 4.8 Medium
- Published
- Nov 11, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 11, 2026
Description
A vulnerability was detected in Moonshot AI Kimi Code up to 2.0.2. This vulnerability affects unknown code of the file .kimi-code/local.toml of the component WorkspaceDirsService. Performing a manipulation of the argument additional_dir results in reliance on untrusted inputs in a security decision. The attack requires a local approach. The exploit is now public and may be used. Upgrading to version 2.1.0 is able to resolve this issue. Upgrading the affected component is recommended.
| Product | Versions |
|---|---|
| Kimi Code Moonshot AI | 2.0.0 Affected2.0.1 Affected2.0.2 Affected2.1.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | VulDB | |
| 3.1 | 4.4 Medium | VulDB | |
| 3.0 | 4.4 Medium | VulDB | |
| 2.0 | 3.2 Low | VulDB |
Weaknesses
References
- VDB-435868 | Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decisionVulnerability DatabaseTechnical Details
- VDB-435868 | CTI Indicators (IOB, IOC, IOA)Detection RuleSign-In Required
- CVE-2026-126758 | CVE Analysis and ReportThird-Party Advisory
- Submit #1033260 | 北京月之暗面科技股份有限公司 kimi code 0.42.0 Kimi Code 审批绕过Third-Party Advisory
- https://mcniyfj5bw9b.feishu.cn/docx/LsJldjpjXomkb4xTJ6CcWzdFnvdExploit
- https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%402.1.0Patch
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.