# CVE-2026-139890: KunAgent Kun Workflow Hooks hook-config.ts buildWorkflowHookRun improper authorization

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-12-01T00:00:29.864Z
- Modified: 2026-12-01T15:17:52.177Z
- Weaknesses: CWE-266, CWE-285
- Assigned by: VulDB

## Description

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 authorization. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 0.4.6 can resolve this issue. This patch is called f90bb8be469248bc3b2677c66b4260793e0aa380. It is recommended to upgrade the affected component.

(As written by CVE List.)

## Affected

- KunAgent Kun: 0.4.0; 0.4.1; 0.4.2; 0.4.3; 0.4.4; 0.4.5 (not affected: 0.4.6)

## Every score

- VulDB: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/KunAgent/Kun/pull/1457> (exploit, issue-tracking, patch)
- <https://vuldb.com/vuln/445865> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/445865/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-139890> (third-party-advisory)
- <https://vuldb.com/submit/1082490> (third-party-advisory)
- <https://github.com/KunAgent/Kun/commit/f90bb8be469248bc3b2677c66b4260793e0aa380> (patch)
- <https://github.com/KunAgent/Kun/releases/tag/v0.4.6> (patch)
- <https://github.com/KunAgent/Kun/> (product)

## Sources

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

---

Page: https://cve.day/CVE-2026-139890 · Whole record: https://cve.day/CVE-2026-139890.json · Rebuilt by cve.day 2026-12-01T15:32:12.790Z
