CVE-2026-95660
published medium CVSS 4.0 · 5.3Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Moonshot AI | — | Kimi Code0.1 (affected) · 0.2 (affected) · 0.3 (affected) · 0.4 (affected) · 0.5 (affected) · 0.6 (affected) · 0.7 (affected) · 0.8 (affected) · 0.9 (affected) · 0.10 (affected) · 0.11 (affected) · 0.12 (affected) · 0.13 (affected) · 0.14 (affected) · 0.15 (affected) · 0.16 (affected) · 0.17 (affected) · 0.18 (affected) · 0.19 (affected) · 0.20 (affected) · 0.21 (affected) · 0.22 (affected) · 0.23 (affected) · 0.24 (affected) · 0.25 (affected) · 0.26 (affected) · 0.27 (affected) · 0.28 (affected) · 0.29 (affected) · 0.30 (affected) · 0.31.0 (affected) · 0.31.1 (unaffected) | Version-specific | Not stated | VulDB |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 6.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Moonshot AI | Kimi Code | 0.1 (affected)0.2 (affected)0.3 (affected)0.4 (affected)0.5 (affected)0.6 (affected)0.7 (affected)0.8 (affected)0.9 (affected)0.10 (affected)0.11 (affected)0.12 (affected)0.13 (affected)0.14 (affected)0.15 (affected)0.16 (affected)0.17 (affected)0.18 (affected)0.19 (affected)0.20 (affected)0.21 (affected)0.22 (affected)0.23 (affected)0.24 (affected)0.25 (affected)0.26 (affected)0.27 (affected)0.28 (affected)0.29 (affected)0.30 (affected)0.31.0 (affected)0.31.1 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-78 OS Command Injection
- CWE-77 Command Injection
References
7- https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?tab=t.0
- https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?usp=sharing
- https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.31.1
- CVE-2026-95660 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-95660
- Submit #897071 | Moonshot AI Kimi Code 0.27.0 Code Injection https://vuldb.com/submit/897071
- VDB-408415 | Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection https://vuldb.com/vuln/408415
- VDB-408415 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/408415/cti
Provider assertions
2VulDB · cna
Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 17d41a0c4add6dbb2575ce19e80b347cbf52319ccb905b49059fd164fa650b20
- Ingested
- 23 Sep 2026, 09:41:13 UTC
- Source record
- Official CVE record