Improper authorization in KunAgent Kun workflow hooks
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Privilege escalation, Security bypass
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-266 and CWE-285.
Summary
KunAgent Kun up to 0.4.5 has improper authorization in the buildWorkflowHookRun function of kun/src/hooks/hook-config.ts in the Workflow Hooks component (CWE-285). A remote attacker without privileges or user interaction can affect the confidentiality, integrity and availability of the system. A public exploit is available and linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| KunAgent | Kun | 0.4.0; 0.4.1; 0.4.2; 0.4.3; 0.4.4; 0.4.5 | 0.4.6 | Patch available | CNA |
- Kun VendorKunAgent Affected 0.4.0; 0.4.1; 0.4.2; 0.4.3; 0.4.4; 0.4.5 Fixed in 0.4.6 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:kunagent:kun:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:kunagent:kun:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Upgrade KunAgent Kun to version 0.4.6, which fixes this issue with patch f90bb8b.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Kun (KunAgent) Fixed in 0.4.6
Timeline
- 2026-12-01 Threatist record created from CVE-2026-139890
- 2026-12-01 Alias added: GHSA-r7xv-fwqv-fq75
References
Sources
- CVE-2026-139890 · CVE Program
- CVE-2026-139890 · NVD
- GHSA-r7xv-fwqv-fq75 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences