CVE-2026-139889

Source
https://cve.org/CVERecord?id=CVE-2026-139889
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139889.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139889
Published
2026-11-30T23:45:22Z
Modified
2026-12-01T21:02:41Z
Severity
  • 1.9 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Moonshot AI Kimi Code Tool Policy toolPolicyService.ts AgentToolPolicyService improper authorization
Details

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.

Database specific
{
    "cna_assigner":  "VulDB",
    "cwe_ids":  [
        "CWE-266",
        "CWE-285"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139889.json"
}
References

Affected packages

Git / github.com/moonshotai/kimi-code

Affected ranges

Type
GIT
Repo
https://github.com/moonshotai/kimi-code
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.5.0"
                },
                {
                    "last_affected":  "2.5.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "2.5.1"
                },
                {
                    "last_affected":  "2.5.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "2.5.2"
                },
                {
                    "last_affected":  "2.5.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "2.5.2"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

2.*
2.5.0
2.5.1
2.5.2
@moonshot-ai/kimi-code@2.*
@moonshot-ai/kimi-code@2.5.0
@moonshot-ai/kimi-code@2.5.1
@moonshot-ai/kimi-code@2.5.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139889.json"