Home › Vulnerabilities › KunAgent
KunAgent Kun: two authorization flaws fixed in 0.4.6, one remotely reachable
NVD published two authorization vulnerabilities in KunAgent Kun up to 0.4.5 on 2026-12-01. The more serious one, CVE-2026-139890, is rated MEDIUM and may be launched remotely; both are fixed by upgrading to 0.4.6.
What to look into
- 2 vulnerabilities in KunAgent Kun: 1 medium, 1 low (CVSS up to 5.5).
- None of them is known to be exploited yet.
- Start with CVE-2026-139890 (5.5 medium): A weakness has been identified in KunAgent Kun up to 0.4.5. Affected by this issue is the function buildWorkflowHookRun of the file kun/src/hooks/hook-config.ts of the component Workflow Hooks. Execu… An attacker without an account can exploit this over the network, without any user action.
- 1 of 2 can be attacked over the network without logging in, 1 of them without anyone clicking anything.
- Kinds of flaws: Improper Authorization (×2); Incorrect Privilege Assignment; Incorrect Authorization.
Key points
- CVE-2026-139890 (MEDIUM, CVSS 5.5) is the more serious issue and may be exploited remotely, according to the record.
- CVE-2026-139891 (LOW, CVSS 1.9) can only be performed from a local environment.
- Both flaws are improper or incorrect authorization issues in KunAgent Kun up to 0.4.5.
- Public exploits are described as available or disclosed for both.
Two vulnerabilities in KunAgent Kun were published by NVD on 2026-12-01. Both affect versions up to 0.4.5 and both are authorization flaws, but they differ in how they can be reached and how severe they are.
Remote flaw: CVE-2026-139890
CVE-2026-139890 is rated MEDIUM (CVSS 5.5) by NVD. It affects the buildWorkflowHookRun function in kun/src/hooks/hook-config.ts, part of the Workflow Hooks component. According to the record, manipulating this function can lead to improper authorization, and the attack may be launched remotely. The record also states that an exploit has been made publicly available.
Local flaw: CVE-2026-139891
CVE-2026-139891 is rated LOW (CVSS 1.9). It affects the launchResumeTurn function in kun/src/loop/interrupted-turn-coordinator.ts, in the Turn Resume component, and leads to incorrect authorization. Per the record, the attack can only be performed from a local environment. The record says an exploit has been publicly disclosed and may be used.
Fix
For both issues, NVD says upgrading to version 0.4.6 resolves the problem. The patch identifiers given are f90bb8be469248bc3b2677c66b4260793e0aa380 for CVE-2026-139890 and 1491099133a0518ffa5b8f8d3c08940d5f938879 for CVE-2026-139891. The records do not describe any workaround or detection method, and they do not state whether either flaw has been used in real attacks.
What to do
- Upgrade KunAgent Kun to version 0.4.6, which NVD names as the fix for both CVEs.
- Prioritise the upgrade for systems where the Workflow Hooks component is exposed, given the remote attack vector in CVE-2026-139890.
The 2 vulnerabilities
- CVE-2026-139890 5.5 A weakness has been identified in KunAgent Kun up to 0.4.5. Affected by this issue is the function buildWorkflowHookRun of the file kun/src/hooks/hook-config.ts of the component Workflow Hooks. Executing a manipulation can lead to improper…
- CVE-2026-139891 1.9 A security vulnerability has been detected in KunAgent Kun up to 0.4.5. This affects the function launchResumeTurn of the file kun/src/loop/interrupted-turn-coordinator.ts of the component Turn Resume. The manipulation leads to incorrect a…
Frequently asked questions
How many KunAgent Kun vulnerabilities were published on December 1, 2026?
2 vulnerabilities: 1 medium, 1 low, with CVSS scores up to 5.5.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-139890 (CVSS 5.5): A weakness has been identified in KunAgent Kun up to 0.4.5. Affected by this issue is the function buildWorkflowHookRun of the file kun/src/hooks/hook-config.ts of the component Workflow Hooks. Execu…