Improper input validation in Moonshot Ai Kimi Code
CVE-2026-126758
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS 0.001, 1.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Moonshot Ai Kimi Code — versions 2.0.0, 2.0.1, 2.0.2
Weakness classification (CWE)
References
- github.com/MoonshotAI/kimi-code/releases/tag/@moonshot-ai/kimi-code@2.1.0 (patch)
- mcniyfj5bw9b.feishu.cn/docx/LsJldjpjXomkb4xTJ6CcWzdFnvd (exploit)
- vuldb.com/cve/CVE-2026-126758 (third-party-advisory)
- vuldb.com/submit/1033260 (third-party-advisory)
- vuldb.com/vuln/435868 (technical-description, vdb-entry)
- vuldb.com/vuln/435868/cti (signature, permissions-required)