# CVE-2026-139889: Moonshot AI Kimi Code Tool Policy toolPolicyService.ts AgentToolPolicyService improper authorization

> CVE-2026-139889: Moonshot AI Kimi Code Tool Policy toolPolicyService.ts AgentToolPolicyService improper authorization. CVSS 5.3 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-139889
Last updated: 2026-12-01T00:17:14Z

- Published: 2026-11-30 23:45 UTC · Updated: 2026-12-01 00:17 UTC · Assigner: VulDB
- CVSS: 5.3 (CVSS 3.1) · Severity: Medium · Vector: 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
- EPSS: 0.15%, 4th percentile (scored 2026-12-03)
- CISA KEV: no
- CWE: CWE-266, CWE-285

## Description

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 vendors and products

- Moonshot AI: Kimi Code

## Tracked companies

- [Moonshot AI (Kimi)](https://rewindex.com/company/moonshot-ai.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-139889)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-139889)
- [https://github.com/MoonshotAI/kimi-code/pull/4761](https://github.com/MoonshotAI/kimi-code/pull/4761)
- [https://vuldb.com/cve/CVE-2026-139889](https://vuldb.com/cve/CVE-2026-139889)
- [https://vuldb.com/submit/1082489](https://vuldb.com/submit/1082489)
- [https://vuldb.com/vuln/445863](https://vuldb.com/vuln/445863)
- [https://vuldb.com/vuln/445863/cti](https://vuldb.com/vuln/445863/cti)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-139889 · Markdown: https://rewindex.com/cve/CVE-2026-139889.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-139889 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-12-03T23:37:03.503Z
