{"id":"CVE-2026-126758","aliases":["CVE-2026-126758"],"related":[],"kind":"vulnerability","state":"published","title":"Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-11T23:00:47.831Z","modified":"2026-11-13T19:19:24.910Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","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","score":4.4,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":4.4,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:OF/RC:C","score":3.2,"rating":"LOW"}],"cwes":["CWE-20","CWE-807"],"affected":[{"ranges":[{"version":"2.0.0","status":"affected"},{"version":"2.0.1","status":"affected"},{"version":"2.0.2","status":"affected"},{"version":"2.1.0","status":"unaffected"}],"vendor":"Moonshot AI","product":"Kimi Code","cpe":"cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://vuldb.com/vuln/435868","tags":["technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/vuln/435868/cti","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/cve/CVE-2026-126758","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/1033260","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://mcniyfj5bw9b.feishu.cn/docx/LsJldjpjXomkb4xTJ6CcWzdFnvd","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%402.1.0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["ShiyuFan_BinYuan (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-13T18:30:55.379Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126758","url":"https://www.cve.org/CVERecord?id=CVE-2026-126758","licence":"CVE Terms of Use","modified":"2026-11-13T18:31:11.744Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126758","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126758","licence":"Public domain","modified":"2026-11-13T19:19:24.910Z"}],"updatedAt":"2026-11-25T22:59:50.459Z","epss":{"score":0.00146,"percentile":0.04043,"date":"2026-12-01T12:00:22.000Z"}}