CVE-2026-126758
4.8medium
Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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
| Product or package | Versions | Reported by |
|---|---|---|
| Moonshot AI Kimi Code | 2.0.0, 2.0.1, 2.0.2 Not affected: 2.1.0 | CVE List |
All scores
| VulDB | 4.8medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 4.4medium CVSS:3.1 | 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 |
| VulDB | 4.4medium CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 3.2low CVSS:2.0 | AV:L/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:OF/RC:C |
Classification
References
| https://vuldb.com/vuln/435868 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/435868/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-126758 | third-party-advisory | |
| https://vuldb.com/submit/1033260 | third-party-advisory | |
| https://mcniyfj5bw9b.feishu.cn/docx/LsJldjpjXomkb4xTJ6CcWzdFnvd | exploit | |
| https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%402.1.0 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-126758 changed 2026-11-13 | CVE Terms of Use |
| NVD | CVE-2026-126758 changed 2026-11-13 | Public domain |