Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Moonshot AI Kimi Code
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Moonshot AI Kimi Code(版本 2.0.2 及更早版本)中发现一个漏洞。该漏洞影响组件 WorkspaceDirsService 中文件 的未知代码。攻击者可通过操纵参数 ,导致安全决策依赖于不可信输入。该漏洞需要本地访问才能利用。目前利用方法已公开,可被实际使用。建议将受影响组件升级至版本 2.1.0,以解决此问题。

CVSS 4.4 · Medium

Possible ATT&CK Techniques 1 AI

T1548.003 · Sudo and Sudo Caching
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-126758

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
在安全决策中依赖未经信任的输入
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Moonshot AI Kimi Code 2.0.0 cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-126758

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-126758

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-126758 (1)

Other References for CVE-2026-126758 (5)

IV. Related Vulnerabilities