Read the docs

Improper authorization in Moonshot AI Kimi Code plan mode permission guard

Priority MEDIUM 55CWE-266Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Privilege escalation, Security bypass
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-266 and CWE-285.

Summary

Moonshot AI Kimi Code versions 2.7.0, 2.7.1 and 2.7.2 are affected. The guardToolExecution function in the Plan Mode Permission Guard component does not properly enforce authorization (CWE-285), so a manipulation can bypass the plan mode permission check. An attacker with local access and low privileges can exploit this flaw. A public exploit is available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00154 2nd percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Moonshot AIKimi Code2.7.0; 2.7.1; 2.7.2—No fix listedCNA
  • Kimi Code VendorMoonshot AI Affected 2.7.0; 2.7.1; 2.7.2 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:*——Moonshot AI
  • cpe:2.3:a:moonshot_ai:kimi_code:*:*:*:*:*:*:*:* Versions — — ·Moonshot AI

Remediation

The sources list no fixed version for Moonshot AI Kimi Code.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Timeline

  1. 2026-11-21 Threatist record created from CVE-2026-134006
  2. 2026-11-21 Alias added: GHSA-259v-2548-2q54
  3. 2026-11-23 CISA SSVC decision points changed

References

  • TI-2026-63668 Moonshot AI Kimi Code MCP Configuration Loader config-loader.ts os command injection CVSS 4.0MEDIUM 5.3
  • TI-2026-90180 Moonshot AI Kimi Code relies on untrusted input in a security decision CVSS 4.0MEDIUM 4.8
  • TI-2026-90175 Open redirect in Moonshot AI Kimi Code Web UI CVSS 4.0MEDIUM 5.3
  • TI-2026-14384 Kimi Code FetchURL SSRF protection bypass via DNS-resolving hostnames and redirects CVSS 3.1MEDIUM 5.5
  • TI-2026-20230 [Kimi VS Code] Command Injection in publish scripts vsix-publish.js and ovsx-publish.js CVSS 3.1LOW 2.9

Sources