CVE-2026-139889: Moonshot AI Kimi Code Tool Policy toolPolicyService.ts AgentToolPolicyService improper authorization
A vulnerability was identified in Moonshot AI Kimi Code up to 2.5.2. Affected is the function AgentToolPolicyService of the file packages/agent-core-v2/src/agent/toolPolicy/toolPolicyService.ts of the component Tool Policy. Such manipulation leads to improper authorization. Local access is required to approach this attack. The exploit is publicly available and might be used.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Installations of Moonshot AI Kimi Code up to version 2.5.2 are affected. Exploitation requires local access, so the relevant exposure is to local users or processes that already have access to the system running the tool.
What level of access does an attacker need?
An attacker needs local access and low privileges. No user interaction is required according to the supplied severity vector.
Is exploitation practical?
A public exploit is available, and the exploit maturity is rated as proof-of-concept. This may make the issue more actionable for attackers with the required local access.