Improper authorization in Moonshot AI Kimi Code plan mode permission guard
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Moonshot AI | Kimi Code | 2.7.0; 2.7.1; 2.7.2 | — | No fix listed | CNA |
- Kimi Code VendorMoonshot AI Affected 2.7.0; 2.7.1; 2.7.2 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| 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
- 2026-11-21 Threatist record created from CVE-2026-134006
- 2026-11-21 Alias added: GHSA-259v-2548-2q54
- 2026-11-23 CISA SSVC decision points changed
References
More Moonshot AI vulnerabilities
- 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
- CVE-2026-134006 · CVE Program
- CVE-2026-134006 · NVD
- FIRST EPSS
- GHSA-259v-2548-2q54 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences