CVE Watchtower

CVE-2026-95660Moonshot AI Kimi Code OS Command Injection

NVD

Vulnerability Summary

A security flaw has been discovered in Moonshot AI Kimi Code up to 0.31.0. The affected element is an unknown function of the file agent-core-v2/src/agent/mcp/config-loader.ts of the component MCP Configuration Loader. The manipulation results in os command injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 0.31.1 is sufficient to fix this issue. It is recommended to upgrade the affected component. Beyond the trust prompt, the fix resolves fd/stty binaries to absolute paths specifically "so untrusted workspaces cannot plant bare-name executables before confirmation," fixing a secondary $PATH path-planting vector alongside the primary untrusted-.mcp.json auto-spawn.
Severity Level
MEDIUM(6.3)
Published Date
Sep 22, 2026
Last Modified
Sep 22, 2026
Exploitation Status
Public exploit available
EPSS Score (30-Day)
1.67%Probability
Root Weakness (CWE)
The software constructs all or part of an OS command using externally-influenced input, but does not properly neutralize special elements.
The product constructs all or part of a command using externally-influenced input but does not neutralize special elements that could modify the intended command.
CVSS v4.0 Base Metrics — Score 5.3 (MEDIUM)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)Low
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 6.3)
CVSS v3.1 Base Metrics — Score 6.3 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityLow

Affected & Patched Versions

Affected Versions
  • Moonshot AI Kimi Code 0.1
  • Moonshot AI Kimi Code 0.2
  • Moonshot AI Kimi Code 0.3
  • Moonshot AI Kimi Code 0.4
  • Moonshot AI Kimi Code 0.5
  • Moonshot AI Kimi Code 0.6
  • Moonshot AI Kimi Code 0.7
  • Moonshot AI Kimi Code 0.8
  • Moonshot AI Kimi Code 0.9
  • Moonshot AI Kimi Code 0.10
  • Moonshot AI Kimi Code 0.11
  • Moonshot AI Kimi Code 0.12
  • Moonshot AI Kimi Code 0.13
  • Moonshot AI Kimi Code 0.14
  • Moonshot AI Kimi Code 0.15
  • Moonshot AI Kimi Code 0.16
  • Moonshot AI Kimi Code 0.17
  • Moonshot AI Kimi Code 0.18
  • Moonshot AI Kimi Code 0.19
  • Moonshot AI Kimi Code 0.20
  • Moonshot AI Kimi Code 0.21
  • Moonshot AI Kimi Code 0.22
  • Moonshot AI Kimi Code 0.23
  • Moonshot AI Kimi Code 0.24
  • Moonshot AI Kimi Code 0.25
  • Moonshot AI Kimi Code 0.26
  • Moonshot AI Kimi Code 0.27
  • Moonshot AI Kimi Code 0.28
  • Moonshot AI Kimi Code 0.29
  • Moonshot AI Kimi Code 0.30
  • Moonshot AI Kimi Code 0.31.0
Patched Versions
No patched version published yet
Until a fix ships, reduce exposure:
  • Restrict access to the affected service or interface to trusted networks.
  • Disable the affected feature if you do not need it.
  • Watch the vendor advisory for a firmware or software update.

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run Moonshot AI Kimi Code and which version.
  2. No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
  3. Subscribe to the vendor advisory so you learn when a fix ships.
  4. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Sep 22, 2026Published
  • Sep 22, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Moonshot AI Kimi Code CVEsYou are reading CVE-2026-95660. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

More Moonshot AI Kimi Code CVEs

Data last checked: Nov 22, 2026 23:12 UTC