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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.27%, higher than 70% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-09-22T18:00:11.243Z
- Modified: 2026-09-22T19:16:59.953Z
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Moonshot AI Kimi Code: 0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8; 0.9; 0.10; 0.11; 0.12; and 19 more (not affected: 0.31.1)

## Every score

- VulDB: CVSS:4.0 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`
- VulDB: CVSS:3.1 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`
- VulDB: CVSS:3.0 6.3 Medium `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`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?usp=sharing> (exploit)
- <https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?tab=t.0> (exploit)
- <https://vuldb.com/vuln/408415> (vdb-entry)
- <https://vuldb.com/vuln/408415/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-95660> (third-party-advisory)
- <https://vuldb.com/submit/897071> (third-party-advisory)
- <https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.31.1> (patch)

## Sources

- CVE List: [CVE-2026-95660](https://www.cve.org/CVERecord?id=CVE-2026-95660), CVE Terms of Use, modified 2026-09-22
- NVD: [CVE-2026-95660](https://nvd.nist.gov/vuln/detail/CVE-2026-95660), Public domain, modified 2026-09-22

---

Page: https://cve.day/CVE-2026-95660 · Whole record: https://cve.day/CVE-2026-95660.json · Rebuilt by cve.day 2026-11-25T22:59:40.504Z
