CVE-2026-95660

published 22 Sep 2026 · updated 22 Sep 2026

Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection

7.3HighCVSS 6.3EPSS 2%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. No fixed version is recorded.

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, products and packages with version ranges

VendorProductVersionsFixed
Moonshot AI=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

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-95660 severity on Zeptric[![CVE-2026-95660](https://zeptric.io/badge/cve/CVE-2026-95660.svg)](https://zeptric.io/cve/CVE-2026-95660)