Moonshot AI Kimi Code Tool Policy toolPolicyService.ts AgentToolPolicyService improper authorization

4.8MEDIUM

CVE-2026-139889

Key Information:

Vendor

Moonshot Ai

Status
Kimi Code
CVE ID
CVE ID:
CVE-2026-139889
Vendor
CVE Published:
30 November 2026

Timeline

Exploit known the day it was published

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

👾 Exploit Exists🟡 Public PoC

How risky is it?

  • No: Needs local access
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Look for signs of compromise

Exploit code is public, so check logs on exposed Kimi Code systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

3Why it's rated "Check today"
  • Exploit code is public, so attacks are easy to copy.
  • Its CVSS severity is medium (4.8).

What is CVE-2026-139889?

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 Version(s)

Kimi Code 2.5.0

Kimi Code 2.5.1

Kimi Code 2.5.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V4

Score:
4.8
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Credit

EM123 (VulDB User)
.