CVE-2026-139889
published medium CVSS 4.0 · 4.8Moonshot AI Kimi Code Tool Policy toolPolicyService.ts AgentToolPolicyService improper authorization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Moonshot AI | — | Kimi Code2.5.0 · 2.5.1 · 2.5.2 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 5.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Moonshot AI | Kimi Code | 2.5.0 (affected)2.5.1 (affected)2.5.2 (affected) | VulDB · cna |
Weaknesses
2- CWE-285 Improper Authorization
- CWE-266 Incorrect Privilege Assignment
References
5- https://github.com/MoonshotAI/kimi-code/pull/4761
- CVE-2026-139889 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-139889
- Submit #1082489 | MoonshotAI Kimi Code 2.5.2 Improper Authorization https://vuldb.com/submit/1082489
- VDB-445863 | Moonshot AI Kimi Code Tool Policy toolPolicyService.ts AgentToolPolicyService improper authorization https://vuldb.com/vuln/445863
- VDB-445863 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/445863/cti
Provider assertions
1VulDB · cna
Moonshot AI Kimi Code Tool Policy toolPolicyService.ts AgentToolPolicyService improper authorization
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b82e219e8dc6ac47dd1cd90f9589e9de7e0fde024e0726411d0b6feadc0e770a
- Ingested
- 30 Nov 2026, 23:50:10 UTC
- Source record
- Official CVE record