2026-11-21 18:30CVE-2026-134006VulDB
PUBLISHED5.2ApplicationCWE-285CWE-266

Moonshot AI Kimi Code Plan Mode Permission Guard planService.ts guardToolExecution improper authorization

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.

Problem type

Affected products

Moonshot AI

Kimi Code

2.7.0 - AFFECTED

2.7.1 - AFFECTED

2.7.2 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-134006
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-134006",
    "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
    "assignerShortName": "VulDB",
    "dateUpdated": "2026-11-21T18:30:48.183Z",
    "dateReserved": "2026-11-20T19:37:38.263Z",
    "datePublished": "2026-11-21T18:30:48.183Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "shortName": "VulDB",
        "dateUpdated": "2026-11-21T18:30:48.183Z"
      },
      "title": "Moonshot AI Kimi Code Plan Mode Permission Guard planService.ts guardToolExecution improper authorization",
      "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."
        }
      ],
      "affected": [
        {
          "vendor": "Moonshot AI",
          "product": "Kimi Code",
          "cpes": [
            "cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "Plan Mode Permission Guard"
          ],
          "versions": [
            {
              "version": "2.7.0",
              "status": "affected"
            },
            {
              "version": "2.7.1",
              "status": "affected"
            },
            {
              "version": "2.7.2",
              "status": "affected"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Improper Authorization",
              "cweId": "CWE-285",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Incorrect Privilege Assignment",
              "cweId": "CWE-266",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://vuldb.com/vuln/441599",
          "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/cti",
          "name": "VDB-441599 | CTI Indicators (IOB, IOC, TTP, IOA)",
          "tags": [
            "signature",
            "permissions-required"
          ]
        },
        {
          "url": "https://vuldb.com/cve/CVE-2026-134006",
          "name": "CVE-2026-134006 | CVE Analysis and Report",
          "tags": [
            "third-party-advisory"
          ]
        },
        {
          "url": "https://vuldb.com/submit/1052054",
          "name": "Submit #1052054 | 北京月之暗面科技股份有限公司 kimi code  0.42.0 委派子agent 审批绕过逻辑缺陷",
          "tags": [
            "third-party-advisory"
          ]
        },
        {
          "url": "https://mcniyfj5bw9b.feishu.cn/docx/B9lIdyhBAovYrkxl4JPchVyinWf",
          "tags": [
            "exploit"
          ]
        }
      ],
      "metrics": [
        {},
        {
          "cvssV3_1": {
            "version": "3.1",
            "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",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM"
          }
        },
        {
          "cvssV3_0": {
            "version": "3.0",
            "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",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM"
          }
        },
        {
          "cvssV2_0": {
            "version": "2.0",
            "vectorString": "AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C",
            "baseScore": 4.3
          }
        }
      ],
      "timeline": [
        {
          "time": "2026-11-20T00:00:00.000Z",
          "lang": "en",
          "value": "Advisory disclosed"
        },
        {
          "time": "2026-11-20T01:00:00.000Z",
          "lang": "en",
          "value": "VulDB entry created"
        },
        {
          "time": "2026-11-20T20:42:43.000Z",
          "lang": "en",
          "value": "VulDB entry last update"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "ShiyuFan_BinYuan (VulDB User)",
          "type": "reporter"
        },
        {
          "lang": "en",
          "value": "VulDB CNA Team",
          "type": "coordinator"
        }
      ]
    }
  }
}