← CVE Intelligence

CVE-2026-95660

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Moonshot AI / Kimi Codeaffected 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; unaffected 0.31.1

CWE

CWE-78, CWE-77

References

ADP enrichment

CISA-ADP

No English description supplied.