CVE-2026-126758
Published:November 11, 2026
Updated:November 14, 2026
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 Packages
https://github.com/MoonshotAI/kimi-code.git (GITHUB):
Affected version(s) >=@moonshot-ai/kimi-code@0.19.0 <@moonshot-ai/kimi-code@2.1.0 || >=@moonshot-ai/kimi-code@2.0.0 <@moonshot-ai/kimi-code@2.1.0Fix Suggestion:
Update to version @moonshot-ai/kimi-code@2.1.0@moonshot-ai/kimi-code (NPM):
Affected version(s) >=0.19.0 <2.1.0 || >=2.0.0 <2.1.0Fix Suggestion:
Update to version 2.1.0Related ResourcesĀ (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
1.9
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
4.4
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Exploit Maturity
PROOF-OF-CONCEPT
Weakness Type (CWE)
EPSS
Base Score:
0.11