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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-30T23:45:22.939Z
- Modified: 2026-12-01T00:17:14.870Z
- Weaknesses: CWE-266, CWE-285
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Moonshot AI Kimi Code: 2.5.0; 2.5.1; 2.5.2

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C`

## References

- <https://github.com/MoonshotAI/kimi-code/pull/4761> (exploit, issue-tracking, patch)
- <https://vuldb.com/vuln/445863> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/445863/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-139889> (third-party-advisory)
- <https://vuldb.com/submit/1082489> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-139889](https://www.cve.org/CVERecord?id=CVE-2026-139889), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139889](https://nvd.nist.gov/vuln/detail/CVE-2026-139889), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139889 · Whole record: https://cve.day/CVE-2026-139889.json · Rebuilt by cve.day 2026-12-01T00:32:19.314Z
