{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.2"
              },
              {
                "last_affected": "0.2"
              },
              {
                "introduced": "0.3"
              },
              {
                "last_affected": "0.3"
              },
              {
                "introduced": "0.4"
              },
              {
                "last_affected": "0.4"
              },
              {
                "introduced": "0.5"
              },
              {
                "last_affected": "0.5"
              },
              {
                "introduced": "0.6"
              },
              {
                "last_affected": "0.6"
              },
              {
                "introduced": "0.7"
              },
              {
                "last_affected": "0.7"
              },
              {
                "introduced": "0.8"
              },
              {
                "last_affected": "0.8"
              },
              {
                "introduced": "0.9"
              },
              {
                "last_affected": "0.9"
              },
              {
                "introduced": "0.10"
              },
              {
                "last_affected": "0.10"
              },
              {
                "introduced": "0.11"
              },
              {
                "last_affected": "0.11"
              },
              {
                "introduced": "0.12"
              },
              {
                "last_affected": "0.12"
              },
              {
                "introduced": "0.13"
              },
              {
                "last_affected": "0.13"
              },
              {
                "introduced": "0.14"
              },
              {
                "last_affected": "0.14"
              },
              {
                "introduced": "0.15"
              },
              {
                "last_affected": "0.15"
              },
              {
                "introduced": "0.16"
              },
              {
                "last_affected": "0.16"
              },
              {
                "introduced": "0.17"
              },
              {
                "last_affected": "0.17"
              },
              {
                "introduced": "0.18"
              },
              {
                "last_affected": "0.18"
              },
              {
                "introduced": "0.19"
              },
              {
                "last_affected": "0.19"
              },
              {
                "introduced": "0.20"
              },
              {
                "last_affected": "0.20"
              },
              {
                "introduced": "0.21"
              },
              {
                "last_affected": "0.21"
              },
              {
                "introduced": "0.22"
              },
              {
                "last_affected": "0.22"
              },
              {
                "introduced": "0.23"
              },
              {
                "last_affected": "0.23"
              },
              {
                "introduced": "0.24"
              },
              {
                "last_affected": "0.24"
              },
              {
                "introduced": "0.25"
              },
              {
                "last_affected": "0.25"
              },
              {
                "introduced": "0.26"
              },
              {
                "last_affected": "0.26"
              },
              {
                "introduced": "0.27"
              },
              {
                "last_affected": "0.27"
              },
              {
                "introduced": "0.28"
              },
              {
                "last_affected": "0.28"
              },
              {
                "introduced": "0.29"
              },
              {
                "last_affected": "0.29"
              },
              {
                "introduced": "0.30"
              },
              {
                "last_affected": "0.30"
              },
              {
                "introduced": "0.31.0"
              },
              {
                "last_affected": "0.31.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "d496fd40b649ddec1226b8f44cf1556c51178aff"
            },
            {
              "last_affected": "bc28e9d802fbec29395a7aed85e880679a050145"
            }
          ],
          "repo": "https://github.com/moonshotai/kimi-code",
          "type": "GIT"
        }
      ],
      "versions": [
        "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"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-77",
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95660.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "0.1"
          },
          {
            "last_affected": "0.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-95660",
  "modified": "2026-09-24T03:30:36.022384375Z",
  "published": "2026-09-22T18:00:11.243Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95660.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-95660"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-95660"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/897071"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/408415"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/408415/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%400.31.1"
    },
    {
      "type": "EVIDENCE",
      "url": "https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?tab=t.0"
    },
    {
      "type": "EVIDENCE",
      "url": "https://docs.google.com/document/d/1GPDw0UzUkgfXRkWEDqCIanKDq3Tpvllyf08O-0eLyoQ/edit?usp=sharing"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection"
}