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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-11T23:00:47.831Z
- Modified: 2026-11-13T19:19:24.910Z
- Weaknesses: CWE-20, CWE-807
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Moonshot AI Kimi Code: 2.0.0; 2.0.1; 2.0.2 (not affected: 2.1.0)

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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: CVSS:3.1 4.4 Medium `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: CVSS:3.0 4.4 Medium `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: CVSS:2.0 3.2 Low `AV:L/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://mcniyfj5bw9b.feishu.cn/docx/LsJldjpjXomkb4xTJ6CcWzdFnvd> (exploit)
- <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://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%402.1.0> (patch)

## Sources

- CVE List: [CVE-2026-126758](https://www.cve.org/CVERecord?id=CVE-2026-126758), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-126758](https://nvd.nist.gov/vuln/detail/CVE-2026-126758), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-126758 · Whole record: https://cve.day/CVE-2026-126758.json · Rebuilt by cve.day 2026-11-25T22:59:50.459Z
