{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-95660",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2026-09-22T12:42:33.085Z",
        "datePublished": "2026-09-22T18:00:11.243Z",
        "dateUpdated": "2026-09-22T19:05:35.649Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2026-09-22T18:00:11.243Z"
            },
            "title": "Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-78",
                            "lang": "en",
                            "description": "OS Command Injection"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-77",
                            "lang": "en",
                            "description": "Command Injection"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Moonshot AI",
                    "product": "Kimi Code",
                    "versions": [
                        {
                            "version": "0.1",
                            "status": "affected"
                        },
                        {
                            "version": "0.2",
                            "status": "affected"
                        },
                        {
                            "version": "0.3",
                            "status": "affected"
                        },
                        {
                            "version": "0.4",
                            "status": "affected"
                        },
                        {
                            "version": "0.5",
                            "status": "affected"
                        },
                        {
                            "version": "0.6",
                            "status": "affected"
                        },
                        {
                            "version": "0.7",
                            "status": "affected"
                        },
                        {
                            "version": "0.8",
                            "status": "affected"
                        },
                        {
                            "version": "0.9",
                            "status": "affected"
                        },
                        {
                            "version": "0.10",
                            "status": "affected"
                        },
                        {
                            "version": "0.11",
                            "status": "affected"
                        },
                        {
                            "version": "0.12",
                            "status": "affected"
                        },
                        {
                            "version": "0.13",
                            "status": "affected"
                        },
                        {
                            "version": "0.14",
                            "status": "affected"
                        },
                        {
                            "version": "0.15",
                            "status": "affected"
                        },
                        {
                            "version": "0.16",
                            "status": "affected"
                        },
                        {
                            "version": "0.17",
                            "status": "affected"
                        },
                        {
                            "version": "0.18",
                            "status": "affected"
                        },
                        {
                            "version": "0.19",
                            "status": "affected"
                        },
                        {
                            "version": "0.20",
                            "status": "affected"
                        },
                        {
                            "version": "0.21",
                            "status": "affected"
                        },
                        {
                            "version": "0.22",
                            "status": "affected"
                        },
                        {
                            "version": "0.23",
                            "status": "affected"
                        },
                        {
                            "version": "0.24",
                            "status": "affected"
                        },
                        {
                            "version": "0.25",
                            "status": "affected"
                        },
                        {
                            "version": "0.26",
                            "status": "affected"
                        },
                        {
                            "version": "0.27",
                            "status": "affected"
                        },
                        {
                            "version": "0.28",
                            "status": "affected"
                        },
                        {
                            "version": "0.29",
                            "status": "affected"
                        },
                        {
                            "version": "0.30",
                            "status": "affected"
                        },
                        {
                            "version": "0.31.0",
                            "status": "affected"
                        },
                        {
                            "version": "0.31.1",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*"
                    ],
                    "modules": [
                        "MCP Configuration Loader"
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "version": "4.0",
                        "baseScore": 5.3,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 6.3,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 6.3,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 7.5,
                        "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2026-09-22T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2026-09-22T02:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2026-09-22T14:47:46.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "38.5 (VulDB User)",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "VulDB CNA Team",
                    "type": "coordinator"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/vuln/408415",
                    "name": "VDB-408415 | Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection",
                    "tags": [
                        "vdb-entry"
                    ]
                },
                {
                    "url": "https://vuldb.com/vuln/408415/cti",
                    "name": "VDB-408415 | CTI Indicators (IOB, IOC, TTP, IOA)",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://vuldb.com/cve/CVE-2026-95660",
                    "name": "CVE-2026-95660 | CVE Analysis and Report",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://vuldb.com/submit/897071",
                    "name": "Submit #897071 | Moonshot AI Kimi Code 0.27.0 Code Injection",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?usp=sharing",
                    "tags": [
                        "exploit"
                    ]
                },
                {
                    "url": "https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.31.1",
                    "tags": [
                        "patch"
                    ]
                }
            ],
            "x_generator": [
                "VulDB PVTS v202609"
            ]
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?tab=t.0",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-09-22T19:05:02.865882Z",
                                "id": "CVE-2026-95660",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-09-22T19:05:35.649Z"
                }
            }
        ]
    }
}