Read the docs

Moonshot AI Kimi Code relies on untrusted input in a security decision

Priority MEDIUM 55CWE-20Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Moonshot AI Kimi Code versions 2.0.0, 2.0.1 and 2.0.2 are affected. The WorkspaceDirsService component relies on values read from the .kimi-code/local.toml file in a security decision without validating them (CWE-807). A local attacker with low privileges can manipulate the additional_dir argument to influence that decision. A public exploit is available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00113 1st percentileScored 2026-11-16
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed Kimi Code (Moonshot AI): 2.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Moonshot AIKimi Code2.0.0; 2.0.1; 2.0.22.1.0Patch availableCNA
  • Kimi Code VendorMoonshot AI Affected 2.0.0; 2.0.1; 2.0.2 Fixed in 2.1.0 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*——Moonshot AI
  • cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:* Versions — — ·Moonshot AI

Remediation

Upgrade Moonshot AI Kimi Code to version 2.1.0, which fixes this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA Kimi Code (Moonshot AI) Fixed in 2.1.0

Timeline

  1. 2026-11-11 Threatist record created from CVE-2026-126758
  2. 2026-11-12 Alias added: GHSA-75pq-p477-6h9c
  3. 2026-11-13 CISA SSVC decision points changed

References

  • TI-2026-63668 Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection CVSS 4.0MEDIUM 5.3
  • TI-2026-90175 Open redirect in Moonshot AI Kimi Code Web UI CVSS 4.0MEDIUM 5.3
  • TI-2026-14384 Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects CVSS 3.1MEDIUM 5.5
  • TI-2026-20230 [Kimi VS Code] Command Injection in publish scripts vsix-publish.js and ovsx-publish.js CVSS 3.1LOW 2.9

Sources