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.
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:PAttack 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:CAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityLow
Affected & Patched 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
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.
- Check whether you run Moonshot AI Kimi Code and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
- 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 alertsMore Moonshot AI Kimi Code CVEs
External References
- Advisoryhttps://vuldb.com/vuln/408415
- Advisoryhttps://vuldb.com/vuln/408415/cti
- Advisoryhttps://vuldb.com/cve/CVE-2026-95660
- Advisoryhttps://vuldb.com/submit/897071
- Exploithttps://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?usp=sharing
- Patchhttps://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.31.1
Data last checked: Nov 22, 2026 23:12 UTC