# CVE-2026-95660: Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection

> CVE-2026-95660: Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection. CVSS 6.3 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-95660
Last updated: 2026-09-22T19:16:59Z

- Published: 2026-09-22 18:00 UTC · Updated: 2026-09-22 19:16 UTC · Assigner: VulDB
- CVSS: 6.3 (CVSS 3.1) · Severity: Medium · Vector: 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
- EPSS: 1.7%, 77th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-77, CWE-78

## 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 vendors and products

- Moonshot AI: Kimi Code

## Tracked companies

- [Moonshot AI (Kimi)](https://rewindex.com/company/moonshot-ai.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-95660)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-95660)
- [https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?usp=sharing](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](https://github.com/MoonshotAI/kimi-code/releases/tag/%2540moonshot-ai%252Fkimi-code%25400.31.1)
- [https://vuldb.com/cve/CVE-2026-95660](https://vuldb.com/cve/CVE-2026-95660)
- [https://vuldb.com/submit/897071](https://vuldb.com/submit/897071)
- [https://vuldb.com/vuln/408415](https://vuldb.com/vuln/408415)
- [https://vuldb.com/vuln/408415/cti](https://vuldb.com/vuln/408415/cti)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-95660 · Markdown: https://rewindex.com/cve/CVE-2026-95660.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-95660 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:13:14.960Z
