CVE-2026-126758
published medium CVSS 4.0 · 4.8Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Moonshot AI | — | Kimi Code2.0.0 (affected) · 2.0.1 (affected) · 2.0.2 (affected) · 2.1.0 (unaffected) | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.4 | medium | VulDB · cna | 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 | — |
| 3.0 | 4.4 | medium | VulDB · cna | 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 | — |
| 2.0 | 3.2 | low | VulDB · cna | AV:L/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Moonshot AI | Kimi Code | 2.0.0 (affected)2.0.1 (affected)2.0.2 (affected)2.1.0 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-807 Reliance on Untrusted Inputs in a Security Decision
- CWE-20 Improper Input Validation
References
6- https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%402.1.0
- https://mcniyfj5bw9b.feishu.cn/docx/LsJldjpjXomkb4xTJ6CcWzdFnvd
- CVE-2026-126758 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-126758
- Submit #1033260 | 北京月之暗面科技股份有限公司 kimi code 0.42.0 Kimi Code 审批绕过 https://vuldb.com/submit/1033260
- VDB-435868 | Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision https://vuldb.com/vuln/435868
- VDB-435868 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/435868/cti
Provider assertions
2VulDB · cna
Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4f74c7cfe50080168066a58ea2bd1ffbaefda3d983193eb18ff2fd76aab158f3
- Ingested
- 13 Nov 2026, 18:39:21 UTC
- Source record
- Official CVE record