# CVE-2026-126758: Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision

> CVE-2026-126758: Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision. CVSS 4.4 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-126758
Last updated: 2026-11-13T19:19:24Z

- Published: 2026-11-11 23:00 UTC · Updated: 2026-11-13 19:19 UTC · Assigner: VulDB
- CVSS: 4.4 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C
- EPSS: 0.15%, 4th percentile (scored 2026-12-03)
- CISA KEV: no
- CWE: CWE-20, CWE-807

## 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.

## Affected vendors and products

- Moonshot AI: Kimi Code

## Tracked companies

- [Moonshot AI (Kimi)](https://rewindex.com/company/moonshot-ai.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-126758)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-126758)
- [https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%402.1.0](https://github.com/MoonshotAI/kimi-code/releases/tag/%2540moonshot-ai%252Fkimi-code%25402.1.0)
- [https://mcniyfj5bw9b.feishu.cn/docx/LsJldjpjXomkb4xTJ6CcWzdFnvd](https://mcniyfj5bw9b.feishu.cn/docx/LsJldjpjXomkb4xTJ6CcWzdFnvd)
- [https://vuldb.com/cve/CVE-2026-126758](https://vuldb.com/cve/CVE-2026-126758)
- [https://vuldb.com/submit/1033260](https://vuldb.com/submit/1033260)
- [https://vuldb.com/vuln/435868](https://vuldb.com/vuln/435868)
- [https://vuldb.com/vuln/435868/cti](https://vuldb.com/vuln/435868/cti)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-126758 · Markdown: https://rewindex.com/cve/CVE-2026-126758.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-126758 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-12-03T23:37:08.326Z
