Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection
Published Sep 22, 2026
5.3
MEDIUMCVSS 4.0
EPSS 1.67%
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.
Affected products
-
Affected
- 0.1
- 0.10
- 0.11
- 0.12
- 0.13
- 0.14
- 0.15
- 0.16
- 0.17
- 0.18
- 0.19
- 0.2
- 0.20
- 0.21
- 0.22
- 0.23
- 0.24
- 0.25
- 0.26
- 0.27
- 0.28
- 0.29
- 0.3
- 0.30
- 0.31.0
- 0.4
- 0.5
- 0.6
- 0.7
- 0.8
- 0.9
Unaffected
- 0.31.1
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Moonshot AI | Kimi Code | unknown | Affected
Unaffected
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (8)
- https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?tab=t.0 exploit
- https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?usp=sharing exploit
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-84628 Advisory
- https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.31.1 patch
- https://vuldb.com/cve/CVE-2026-95660 third-party-advisory
- https://vuldb.com/submit/897071 third-party-advisory
- https://vuldb.com/vuln/408415 vdb-entry
- https://vuldb.com/vuln/408415/cti signaturepermissions-required
| Link | Providers | Tags |
|---|---|---|
| https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?tab=t.0 | exploit | |
| https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?usp=sharing | exploit | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-84628 | Advisory | |
| https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.31.1 | patch | |
| https://vuldb.com/cve/CVE-2026-95660 | third-party-advisory | |
| https://vuldb.com/submit/897071 | third-party-advisory | |
| https://vuldb.com/vuln/408415 | vdb-entry | |
| https://vuldb.com/vuln/408415/cti | signaturepermissions-required |
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub
No data