Search

Find a vulnerability

Search criteria

    8 vulnerabilities found for Kimi Code by Moonshot AI

    CVE-2026-134006 (GCVE-0-2026-134006)

    Vulnerability from nvd – Published: 2026-11-21 18:30 – Updated: 2026-11-23 14:49
    VLAI
    Title
    Moonshot AI Kimi Code Plan Mode Permission Guard planService.ts guardToolExecution improper authorization
    Summary
    A weakness has been identified in Moonshot AI Kimi Code up to 2.7.2. This vulnerability affects the function guardToolExecution of the file packages/agent-core-v2/src/features/plan/planService.ts of the component Plan Mode Permission Guard. Executing a manipulation can lead to improper authorization. The attack requires local access. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-23 14:49 UTC
    CWE
    • CWE-285 - Improper Authorization
    • CWE-266 - Incorrect Privilege Assignment
    References
    URL Tags
    https://vuldb.com/vuln/441599 vdb-entrytechnical-description
    https://vuldb.com/vuln/441599/cti signaturepermissions-required
    https://vuldb.com/cve/CVE-2026-134006 third-party-advisory
    https://vuldb.com/submit/1052054 third-party-advisory
    https://mcniyfj5bw9b.feishu.cn/docx/B9lIdyhBAovYr… exploit
    Impacted products
    Vendor Product Version
    Moonshot AI Kimi Code Affected: 2.7.0
    Affected: 2.7.1
    Affected: 2.7.2
        cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-134006",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-23T14:49:02.844796Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-23T14:49:17.215Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "Plan Mode Permission Guard"
              ],
              "product": "Kimi Code",
              "vendor": "Moonshot AI",
              "versions": [
                {
                  "status": "affected",
                  "version": "2.7.0"
                },
                {
                  "status": "affected",
                  "version": "2.7.1"
                },
                {
                  "status": "affected",
                  "version": "2.7.2"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "ShiyuFan_BinYuan (VulDB User)"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "VulDB CNA Team"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A weakness has been identified in Moonshot AI Kimi Code up to 2.7.2. This vulnerability affects the function guardToolExecution of the file packages/agent-core-v2/src/features/plan/planService.ts of the component Plan Mode Permission Guard. Executing a manipulation can lead to improper authorization. The attack requires local access. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 4.8,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
                "version": "4.0"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C",
                "version": "3.1"
              }
            },
            {
              "cvssV3_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C",
                "version": "3.0"
              }
            },
            {
              "cvssV2_0": {
                "baseScore": 4.3,
                "vectorString": "AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C",
                "version": "2.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-285",
                  "description": "Improper Authorization",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-266",
                  "description": "Incorrect Privilege Assignment",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-21T18:30:48.183Z",
            "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
            "shortName": "VulDB"
          },
          "references": [
            {
              "name": "VDB-441599 | Moonshot AI Kimi Code Plan Mode Permission Guard planService.ts guardToolExecution improper authorization",
              "tags": [
                "vdb-entry",
                "technical-description"
              ],
              "url": "https://vuldb.com/vuln/441599"
            },
            {
              "name": "VDB-441599 | CTI Indicators (IOB, IOC, TTP, IOA)",
              "tags": [
                "signature",
                "permissions-required"
              ],
              "url": "https://vuldb.com/vuln/441599/cti"
            },
            {
              "name": "CVE-2026-134006 | CVE Analysis and Report",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/cve/CVE-2026-134006"
            },
            {
              "name": "Submit #1052054 | \u5317\u4eac\u6708\u4e4b\u6697\u9762\u79d1\u6280\u80a1\u4efd\u6709\u9650\u516c\u53f8 kimi code  0.42.0 \u59d4\u6d3e\u5b50agent \u5ba1\u6279\u7ed5\u8fc7\u903b\u8f91\u7f3a\u9677",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/submit/1052054"
            },
            {
              "tags": [
                "exploit"
              ],
              "url": "https://mcniyfj5bw9b.feishu.cn/docx/B9lIdyhBAovYrkxl4JPchVyinWf"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-20T00:00:00.000Z",
              "value": "Advisory disclosed"
            },
            {
              "lang": "en",
              "time": "2026-11-20T01:00:00.000Z",
              "value": "VulDB entry created"
            },
            {
              "lang": "en",
              "time": "2026-11-20T20:42:43.000Z",
              "value": "VulDB entry last update"
            }
          ],
          "title": "Moonshot AI Kimi Code Plan Mode Permission Guard planService.ts guardToolExecution improper authorization",
          "x_generator": [
            "VulDB PVTS v202611"
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2026-134006",
        "datePublished": "2026-11-21T18:30:48.183Z",
        "dateReserved": "2026-11-20T19:37:38.263Z",
        "dateUpdated": "2026-11-23T14:49:17.215Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-126758 (GCVE-0-2026-126758)

    Vulnerability from nvd – Published: 2026-11-11 23:00 – Updated: 2026-11-13 18:31
    VLAI
    Title
    Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision
    Summary
    A vulnerability was detected in Moonshot AI Kimi Code up to 2.0.2. This vulnerability affects unknown code of the file .kimi-code/local.toml of the component WorkspaceDirsService. Performing a manipulation of the argument additional_dir results in reliance on untrusted inputs in a security decision. The attack requires a local approach. The exploit is now public and may be used. Upgrading to version 2.1.0 is able to resolve this issue. Upgrading the affected component is recommended.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-13 18:30 UTC
    CWE
    • CWE-807 - Reliance on Untrusted Inputs in a Security Decision
    • CWE-20 - Improper Input Validation
    References
    Impacted products
    Vendor Product Version
    Moonshot AI Kimi Code Affected: 2.0.0
    Affected: 2.0.1
    Affected: 2.0.2
    Unaffected: 2.1.0
        cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-126758",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-13T18:30:55.379705Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-13T18:31:11.744Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "WorkspaceDirsService"
              ],
              "product": "Kimi Code",
              "vendor": "Moonshot AI",
              "versions": [
                {
                  "status": "affected",
                  "version": "2.0.0"
                },
                {
                  "status": "affected",
                  "version": "2.0.1"
                },
                {
                  "status": "affected",
                  "version": "2.0.2"
                },
                {
                  "status": "unaffected",
                  "version": "2.1.0"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "ShiyuFan_BinYuan (VulDB User)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A vulnerability was detected in Moonshot AI Kimi Code up to 2.0.2. This vulnerability affects unknown code of the file .kimi-code/local.toml of the component WorkspaceDirsService. Performing a manipulation of the argument additional_dir results in reliance on untrusted inputs in a security decision. The attack requires a local approach. The exploit is now public and may be used. Upgrading to version 2.1.0 is able to resolve this issue. Upgrading the affected component is recommended."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 4.8,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
                "version": "4.0"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 4.4,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C",
                "version": "3.1"
              }
            },
            {
              "cvssV3_0": {
                "baseScore": 4.4,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C",
                "version": "3.0"
              }
            },
            {
              "cvssV2_0": {
                "baseScore": 3.2,
                "vectorString": "AV:L/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:OF/RC:C",
                "version": "2.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-807",
                  "description": "Reliance on Untrusted Inputs in a Security Decision",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-20",
                  "description": "Improper Input Validation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-11T23:00:47.831Z",
            "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
            "shortName": "VulDB"
          },
          "references": [
            {
              "name": "VDB-435868 | Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision",
              "tags": [
                "vdb-entry",
                "technical-description"
              ],
              "url": "https://vuldb.com/vuln/435868"
            },
            {
              "name": "VDB-435868 | CTI Indicators (IOB, IOC, IOA)",
              "tags": [
                "signature",
                "permissions-required"
              ],
              "url": "https://vuldb.com/vuln/435868/cti"
            },
            {
              "name": "CVE-2026-126758 | CVE Analysis and Report",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/cve/CVE-2026-126758"
            },
            {
              "name": "Submit #1033260 | \u5317\u4eac\u6708\u4e4b\u6697\u9762\u79d1\u6280\u80a1\u4efd\u6709\u9650\u516c\u53f8 kimi code 0.42.0 Kimi Code \u5ba1\u6279\u7ed5\u8fc7",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/submit/1033260"
            },
            {
              "tags": [
                "exploit"
              ],
              "url": "https://mcniyfj5bw9b.feishu.cn/docx/LsJldjpjXomkb4xTJ6CcWzdFnvd"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%402.1.0"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-11T00:00:00.000Z",
              "value": "Advisory disclosed"
            },
            {
              "lang": "en",
              "time": "2026-11-11T01:00:00.000Z",
              "value": "VulDB entry created"
            },
            {
              "lang": "en",
              "time": "2026-11-11T18:03:43.000Z",
              "value": "VulDB entry last update"
            }
          ],
          "title": "Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision",
          "x_generator": [
            "VulDB PVTS v202611"
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2026-126758",
        "datePublished": "2026-11-11T23:00:47.831Z",
        "dateReserved": "2026-11-11T16:58:32.820Z",
        "dateUpdated": "2026-11-13T18:31:11.744Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-126757 (GCVE-0-2026-126757)

    Vulnerability from nvd – Published: 2026-11-11 22:45 – Updated: 2026-11-16 18:50
    VLAI
    Title
    Moonshot AI Kimi Code Web UI index-HU0LCM-X.js isOriginAllowed redirect
    Summary
    A security vulnerability has been detected in Moonshot AI Kimi Code up to 2.5.2. This affects the function isOriginAllowed of the file apps/kimi-code/dist-web/assets/index-HU0LCM-X.js of the component Web UI. Such manipulation of the argument kimi_origin leads to open redirect. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-16 18:49 UTC
    CWE
    References
    URL Tags
    https://vuldb.com/vuln/435867 vdb-entrytechnical-description
    https://vuldb.com/vuln/435867/cti signaturepermissions-required
    https://vuldb.com/cve/CVE-2026-126757 third-party-advisory
    https://vuldb.com/submit/1033259 third-party-advisory
    https://mcniyfj5bw9b.feishu.cn/docx/IZ43dY0wzoDtn… exploit
    Impacted products
    Vendor Product Version
    Moonshot AI Kimi Code Affected: 2.5.0
    Affected: 2.5.1
    Affected: 2.5.2
        cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-126757",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-16T18:49:53.331974Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-16T18:50:04.268Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "Web UI"
              ],
              "product": "Kimi Code",
              "vendor": "Moonshot AI",
              "versions": [
                {
                  "status": "affected",
                  "version": "2.5.0"
                },
                {
                  "status": "affected",
                  "version": "2.5.1"
                },
                {
                  "status": "affected",
                  "version": "2.5.2"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "ShiyuFan_BinYuan (VulDB User)"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "VulDB CNA Team"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A security vulnerability has been detected in Moonshot AI Kimi Code up to 2.5.2. This affects the function isOriginAllowed of the file apps/kimi-code/dist-web/assets/index-HU0LCM-X.js of the component Web UI. Such manipulation of the argument kimi_origin leads to open redirect. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P",
                "version": "4.0"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 4.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C",
                "version": "3.1"
              }
            },
            {
              "cvssV3_0": {
                "baseScore": 4.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C",
                "version": "3.0"
              }
            },
            {
              "cvssV2_0": {
                "baseScore": 5,
                "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:C",
                "version": "2.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-601",
                  "description": "Open Redirect",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-11T22:45:40.168Z",
            "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
            "shortName": "VulDB"
          },
          "references": [
            {
              "name": "VDB-435867 | Moonshot AI Kimi Code Web UI index-HU0LCM-X.js isOriginAllowed redirect",
              "tags": [
                "vdb-entry",
                "technical-description"
              ],
              "url": "https://vuldb.com/vuln/435867"
            },
            {
              "name": "VDB-435867 | CTI Indicators (IOB, IOC, TTP, IOA)",
              "tags": [
                "signature",
                "permissions-required"
              ],
              "url": "https://vuldb.com/vuln/435867/cti"
            },
            {
              "name": "CVE-2026-126757 | CVE Analysis and Report",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/cve/CVE-2026-126757"
            },
            {
              "name": "Submit #1033259 | \u5317\u4eac\u6708\u4e4b\u6697\u9762\u79d1\u6280\u80a1\u4efd\u6709\u9650\u516c\u53f8 kimi code 0.42.0 Kimi Code \u9ed8\u8ba4\u914d\u7f6eRCE \u65e0\u9700\u5f00\u542f\u5371\u9669\u6a21\u5f0f",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/submit/1033259"
            },
            {
              "tags": [
                "exploit"
              ],
              "url": "https://mcniyfj5bw9b.feishu.cn/docx/IZ43dY0wzoDtnUxGgy7cQ6xcnFh"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-11T00:00:00.000Z",
              "value": "Advisory disclosed"
            },
            {
              "lang": "en",
              "time": "2026-11-11T01:00:00.000Z",
              "value": "VulDB entry created"
            },
            {
              "lang": "en",
              "time": "2026-11-11T18:03:39.000Z",
              "value": "VulDB entry last update"
            }
          ],
          "title": "Moonshot AI Kimi Code Web UI index-HU0LCM-X.js isOriginAllowed redirect",
          "x_generator": [
            "VulDB PVTS v202611"
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2026-126757",
        "datePublished": "2026-11-11T22:45:40.168Z",
        "dateReserved": "2026-11-11T16:58:28.007Z",
        "dateUpdated": "2026-11-16T18:50:04.268Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-95660 (GCVE-0-2026-95660)

    Vulnerability from nvd – Published: 2026-09-22 18:00 – Updated: 2026-09-22 19:05
    VLAI
    Title
    Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection
    Summary
    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.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-09-22 19:05 UTC
    CWE
    Impacted products
    Vendor Product Version
    Moonshot AI Kimi Code Affected: 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
        cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

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

    CVE-2026-134006 (GCVE-0-2026-134006)

    Vulnerability from cvelistv5 – Published: 2026-11-21 18:30 – Updated: 2026-11-23 14:49
    VLAI
    Title
    Moonshot AI Kimi Code Plan Mode Permission Guard planService.ts guardToolExecution improper authorization
    Summary
    A weakness has been identified in Moonshot AI Kimi Code up to 2.7.2. This vulnerability affects the function guardToolExecution of the file packages/agent-core-v2/src/features/plan/planService.ts of the component Plan Mode Permission Guard. Executing a manipulation can lead to improper authorization. The attack requires local access. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-23 14:49 UTC
    CWE
    • CWE-285 - Improper Authorization
    • CWE-266 - Incorrect Privilege Assignment
    References
    URL Tags
    https://vuldb.com/vuln/441599 vdb-entrytechnical-description
    https://vuldb.com/vuln/441599/cti signaturepermissions-required
    https://vuldb.com/cve/CVE-2026-134006 third-party-advisory
    https://vuldb.com/submit/1052054 third-party-advisory
    https://mcniyfj5bw9b.feishu.cn/docx/B9lIdyhBAovYr… exploit
    Impacted products
    Vendor Product Version
    Moonshot AI Kimi Code Affected: 2.7.0
    Affected: 2.7.1
    Affected: 2.7.2
        cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-134006",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-23T14:49:02.844796Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-23T14:49:17.215Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "Plan Mode Permission Guard"
              ],
              "product": "Kimi Code",
              "vendor": "Moonshot AI",
              "versions": [
                {
                  "status": "affected",
                  "version": "2.7.0"
                },
                {
                  "status": "affected",
                  "version": "2.7.1"
                },
                {
                  "status": "affected",
                  "version": "2.7.2"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "ShiyuFan_BinYuan (VulDB User)"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "VulDB CNA Team"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A weakness has been identified in Moonshot AI Kimi Code up to 2.7.2. This vulnerability affects the function guardToolExecution of the file packages/agent-core-v2/src/features/plan/planService.ts of the component Plan Mode Permission Guard. Executing a manipulation can lead to improper authorization. The attack requires local access. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 4.8,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
                "version": "4.0"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C",
                "version": "3.1"
              }
            },
            {
              "cvssV3_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C",
                "version": "3.0"
              }
            },
            {
              "cvssV2_0": {
                "baseScore": 4.3,
                "vectorString": "AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C",
                "version": "2.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-285",
                  "description": "Improper Authorization",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-266",
                  "description": "Incorrect Privilege Assignment",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-21T18:30:48.183Z",
            "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
            "shortName": "VulDB"
          },
          "references": [
            {
              "name": "VDB-441599 | Moonshot AI Kimi Code Plan Mode Permission Guard planService.ts guardToolExecution improper authorization",
              "tags": [
                "vdb-entry",
                "technical-description"
              ],
              "url": "https://vuldb.com/vuln/441599"
            },
            {
              "name": "VDB-441599 | CTI Indicators (IOB, IOC, TTP, IOA)",
              "tags": [
                "signature",
                "permissions-required"
              ],
              "url": "https://vuldb.com/vuln/441599/cti"
            },
            {
              "name": "CVE-2026-134006 | CVE Analysis and Report",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/cve/CVE-2026-134006"
            },
            {
              "name": "Submit #1052054 | \u5317\u4eac\u6708\u4e4b\u6697\u9762\u79d1\u6280\u80a1\u4efd\u6709\u9650\u516c\u53f8 kimi code  0.42.0 \u59d4\u6d3e\u5b50agent \u5ba1\u6279\u7ed5\u8fc7\u903b\u8f91\u7f3a\u9677",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/submit/1052054"
            },
            {
              "tags": [
                "exploit"
              ],
              "url": "https://mcniyfj5bw9b.feishu.cn/docx/B9lIdyhBAovYrkxl4JPchVyinWf"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-20T00:00:00.000Z",
              "value": "Advisory disclosed"
            },
            {
              "lang": "en",
              "time": "2026-11-20T01:00:00.000Z",
              "value": "VulDB entry created"
            },
            {
              "lang": "en",
              "time": "2026-11-20T20:42:43.000Z",
              "value": "VulDB entry last update"
            }
          ],
          "title": "Moonshot AI Kimi Code Plan Mode Permission Guard planService.ts guardToolExecution improper authorization",
          "x_generator": [
            "VulDB PVTS v202611"
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2026-134006",
        "datePublished": "2026-11-21T18:30:48.183Z",
        "dateReserved": "2026-11-20T19:37:38.263Z",
        "dateUpdated": "2026-11-23T14:49:17.215Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-126758 (GCVE-0-2026-126758)

    Vulnerability from cvelistv5 – Published: 2026-11-11 23:00 – Updated: 2026-11-13 18:31
    VLAI
    Title
    Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision
    Summary
    A vulnerability was detected in Moonshot AI Kimi Code up to 2.0.2. This vulnerability affects unknown code of the file .kimi-code/local.toml of the component WorkspaceDirsService. Performing a manipulation of the argument additional_dir results in reliance on untrusted inputs in a security decision. The attack requires a local approach. The exploit is now public and may be used. Upgrading to version 2.1.0 is able to resolve this issue. Upgrading the affected component is recommended.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-13 18:30 UTC
    CWE
    • CWE-807 - Reliance on Untrusted Inputs in a Security Decision
    • CWE-20 - Improper Input Validation
    References
    Impacted products
    Vendor Product Version
    Moonshot AI Kimi Code Affected: 2.0.0
    Affected: 2.0.1
    Affected: 2.0.2
    Unaffected: 2.1.0
        cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-126758",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-13T18:30:55.379705Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-13T18:31:11.744Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "WorkspaceDirsService"
              ],
              "product": "Kimi Code",
              "vendor": "Moonshot AI",
              "versions": [
                {
                  "status": "affected",
                  "version": "2.0.0"
                },
                {
                  "status": "affected",
                  "version": "2.0.1"
                },
                {
                  "status": "affected",
                  "version": "2.0.2"
                },
                {
                  "status": "unaffected",
                  "version": "2.1.0"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "ShiyuFan_BinYuan (VulDB User)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A vulnerability was detected in Moonshot AI Kimi Code up to 2.0.2. This vulnerability affects unknown code of the file .kimi-code/local.toml of the component WorkspaceDirsService. Performing a manipulation of the argument additional_dir results in reliance on untrusted inputs in a security decision. The attack requires a local approach. The exploit is now public and may be used. Upgrading to version 2.1.0 is able to resolve this issue. Upgrading the affected component is recommended."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 4.8,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
                "version": "4.0"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 4.4,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C",
                "version": "3.1"
              }
            },
            {
              "cvssV3_0": {
                "baseScore": 4.4,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C",
                "version": "3.0"
              }
            },
            {
              "cvssV2_0": {
                "baseScore": 3.2,
                "vectorString": "AV:L/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:OF/RC:C",
                "version": "2.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-807",
                  "description": "Reliance on Untrusted Inputs in a Security Decision",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-20",
                  "description": "Improper Input Validation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-11T23:00:47.831Z",
            "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
            "shortName": "VulDB"
          },
          "references": [
            {
              "name": "VDB-435868 | Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision",
              "tags": [
                "vdb-entry",
                "technical-description"
              ],
              "url": "https://vuldb.com/vuln/435868"
            },
            {
              "name": "VDB-435868 | CTI Indicators (IOB, IOC, IOA)",
              "tags": [
                "signature",
                "permissions-required"
              ],
              "url": "https://vuldb.com/vuln/435868/cti"
            },
            {
              "name": "CVE-2026-126758 | CVE Analysis and Report",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/cve/CVE-2026-126758"
            },
            {
              "name": "Submit #1033260 | \u5317\u4eac\u6708\u4e4b\u6697\u9762\u79d1\u6280\u80a1\u4efd\u6709\u9650\u516c\u53f8 kimi code 0.42.0 Kimi Code \u5ba1\u6279\u7ed5\u8fc7",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/submit/1033260"
            },
            {
              "tags": [
                "exploit"
              ],
              "url": "https://mcniyfj5bw9b.feishu.cn/docx/LsJldjpjXomkb4xTJ6CcWzdFnvd"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/MoonshotAI/kimi-code/releases/tag/%40moonshot-ai%2Fkimi-code%402.1.0"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-11T00:00:00.000Z",
              "value": "Advisory disclosed"
            },
            {
              "lang": "en",
              "time": "2026-11-11T01:00:00.000Z",
              "value": "VulDB entry created"
            },
            {
              "lang": "en",
              "time": "2026-11-11T18:03:43.000Z",
              "value": "VulDB entry last update"
            }
          ],
          "title": "Moonshot AI Kimi Code WorkspaceDirsService local.toml reliance on untrusted inputs in a security decision",
          "x_generator": [
            "VulDB PVTS v202611"
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2026-126758",
        "datePublished": "2026-11-11T23:00:47.831Z",
        "dateReserved": "2026-11-11T16:58:32.820Z",
        "dateUpdated": "2026-11-13T18:31:11.744Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-126757 (GCVE-0-2026-126757)

    Vulnerability from cvelistv5 – Published: 2026-11-11 22:45 – Updated: 2026-11-16 18:50
    VLAI
    Title
    Moonshot AI Kimi Code Web UI index-HU0LCM-X.js isOriginAllowed redirect
    Summary
    A security vulnerability has been detected in Moonshot AI Kimi Code up to 2.5.2. This affects the function isOriginAllowed of the file apps/kimi-code/dist-web/assets/index-HU0LCM-X.js of the component Web UI. Such manipulation of the argument kimi_origin leads to open redirect. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-16 18:49 UTC
    CWE
    References
    URL Tags
    https://vuldb.com/vuln/435867 vdb-entrytechnical-description
    https://vuldb.com/vuln/435867/cti signaturepermissions-required
    https://vuldb.com/cve/CVE-2026-126757 third-party-advisory
    https://vuldb.com/submit/1033259 third-party-advisory
    https://mcniyfj5bw9b.feishu.cn/docx/IZ43dY0wzoDtn… exploit
    Impacted products
    Vendor Product Version
    Moonshot AI Kimi Code Affected: 2.5.0
    Affected: 2.5.1
    Affected: 2.5.2
        cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-126757",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-16T18:49:53.331974Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-16T18:50:04.268Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "Web UI"
              ],
              "product": "Kimi Code",
              "vendor": "Moonshot AI",
              "versions": [
                {
                  "status": "affected",
                  "version": "2.5.0"
                },
                {
                  "status": "affected",
                  "version": "2.5.1"
                },
                {
                  "status": "affected",
                  "version": "2.5.2"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "ShiyuFan_BinYuan (VulDB User)"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "VulDB CNA Team"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A security vulnerability has been detected in Moonshot AI Kimi Code up to 2.5.2. This affects the function isOriginAllowed of the file apps/kimi-code/dist-web/assets/index-HU0LCM-X.js of the component Web UI. Such manipulation of the argument kimi_origin leads to open redirect. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P",
                "version": "4.0"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 4.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C",
                "version": "3.1"
              }
            },
            {
              "cvssV3_0": {
                "baseScore": 4.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C",
                "version": "3.0"
              }
            },
            {
              "cvssV2_0": {
                "baseScore": 5,
                "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:C",
                "version": "2.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-601",
                  "description": "Open Redirect",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-11T22:45:40.168Z",
            "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
            "shortName": "VulDB"
          },
          "references": [
            {
              "name": "VDB-435867 | Moonshot AI Kimi Code Web UI index-HU0LCM-X.js isOriginAllowed redirect",
              "tags": [
                "vdb-entry",
                "technical-description"
              ],
              "url": "https://vuldb.com/vuln/435867"
            },
            {
              "name": "VDB-435867 | CTI Indicators (IOB, IOC, TTP, IOA)",
              "tags": [
                "signature",
                "permissions-required"
              ],
              "url": "https://vuldb.com/vuln/435867/cti"
            },
            {
              "name": "CVE-2026-126757 | CVE Analysis and Report",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/cve/CVE-2026-126757"
            },
            {
              "name": "Submit #1033259 | \u5317\u4eac\u6708\u4e4b\u6697\u9762\u79d1\u6280\u80a1\u4efd\u6709\u9650\u516c\u53f8 kimi code 0.42.0 Kimi Code \u9ed8\u8ba4\u914d\u7f6eRCE \u65e0\u9700\u5f00\u542f\u5371\u9669\u6a21\u5f0f",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/submit/1033259"
            },
            {
              "tags": [
                "exploit"
              ],
              "url": "https://mcniyfj5bw9b.feishu.cn/docx/IZ43dY0wzoDtnUxGgy7cQ6xcnFh"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-11-11T00:00:00.000Z",
              "value": "Advisory disclosed"
            },
            {
              "lang": "en",
              "time": "2026-11-11T01:00:00.000Z",
              "value": "VulDB entry created"
            },
            {
              "lang": "en",
              "time": "2026-11-11T18:03:39.000Z",
              "value": "VulDB entry last update"
            }
          ],
          "title": "Moonshot AI Kimi Code Web UI index-HU0LCM-X.js isOriginAllowed redirect",
          "x_generator": [
            "VulDB PVTS v202611"
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2026-126757",
        "datePublished": "2026-11-11T22:45:40.168Z",
        "dateReserved": "2026-11-11T16:58:28.007Z",
        "dateUpdated": "2026-11-16T18:50:04.268Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-95660 (GCVE-0-2026-95660)

    Vulnerability from cvelistv5 – Published: 2026-09-22 18:00 – Updated: 2026-09-22 19:05
    VLAI
    Title
    Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection
    Summary
    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.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-09-22 19:05 UTC
    CWE
    Impacted products
    Vendor Product Version
    Moonshot AI Kimi Code Affected: 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
        cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

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