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.
PUBLISHED5.2ApplicationCWE-285CWE-266x_open-source
KunAgent Kun Workflow Hooks hook-config.ts buildWorkflowHookRun improper authorization
Problem type
Affected products
KunAgent
Kun
0.4.0 - AFFECTED
0.4.1 - AFFECTED
0.4.2 - AFFECTED
0.4.3 - AFFECTED
0.4.4 - AFFECTED
0.4.5 - AFFECTED
0.4.6 - UNAFFECTED
References
VDB-445865 | KunAgent Kun Workflow Hooks hook-config.ts buildWorkflowHookRun improper authorization
https://vuldb.com/vuln/445865
VDB-445865 | CTI Indicators (IOB, IOC, TTP, IOA)
https://vuldb.com/vuln/445865/cti
CVE-2026-139890 | CVE Analysis and Report
https://vuldb.com/cve/CVE-2026-139890
Submit #1082490 | KunAgent Kun 0.4.5 Improper Authorization
https://vuldb.com/submit/1082490
github.com
https://github.com/KunAgent/Kun/pull/1457
github.com
https://github.com/KunAgent/Kun/commit/f90bb8be469248bc3b2677c66b4260793e0aa380
github.com
https://github.com/KunAgent/Kun/releases/tag/v0.4.6
github.com
https://github.com/KunAgent/Kun/
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-139890Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-139890",
"assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"assignerShortName": "VulDB",
"dateUpdated": "2026-12-01T00:00:29.864Z",
"dateReserved": "2026-11-30T16:02:31.785Z",
"datePublished": "2026-12-01T00:00:29.864Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"shortName": "VulDB",
"dateUpdated": "2026-12-01T00:00:29.864Z"
},
"title": "KunAgent Kun Workflow Hooks hook-config.ts buildWorkflowHookRun improper authorization",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"vendor": "KunAgent",
"product": "Kun",
"cpes": [
"cpe:2.3:a:kunagent:kun:*:*:*:*:*:*:*:*"
],
"modules": [
"Workflow Hooks"
],
"versions": [
{
"version": "0.4.0",
"status": "affected"
},
{
"version": "0.4.1",
"status": "affected"
},
{
"version": "0.4.2",
"status": "affected"
},
{
"version": "0.4.3",
"status": "affected"
},
{
"version": "0.4.4",
"status": "affected"
},
{
"version": "0.4.5",
"status": "affected"
},
{
"version": "0.4.6",
"status": "unaffected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Improper Authorization",
"cweId": "CWE-285",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"lang": "en",
"description": "Incorrect Privilege Assignment",
"cweId": "CWE-266",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://vuldb.com/vuln/445865",
"name": "VDB-445865 | KunAgent Kun Workflow Hooks hook-config.ts buildWorkflowHookRun improper authorization",
"tags": [
"vdb-entry",
"technical-description"
]
},
{
"url": "https://vuldb.com/vuln/445865/cti",
"name": "VDB-445865 | CTI Indicators (IOB, IOC, TTP, IOA)",
"tags": [
"signature",
"permissions-required"
]
},
{
"url": "https://vuldb.com/cve/CVE-2026-139890",
"name": "CVE-2026-139890 | CVE Analysis and Report",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://vuldb.com/submit/1082490",
"name": "Submit #1082490 | KunAgent Kun 0.4.5 Improper Authorization",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://github.com/KunAgent/Kun/pull/1457",
"tags": [
"exploit",
"issue-tracking",
"patch"
]
},
{
"url": "https://github.com/KunAgent/Kun/commit/f90bb8be469248bc3b2677c66b4260793e0aa380",
"tags": [
"patch"
]
},
{
"url": "https://github.com/KunAgent/Kun/releases/tag/v0.4.6",
"tags": [
"patch"
]
},
{
"url": "https://github.com/KunAgent/Kun/",
"tags": [
"product"
]
}
],
"metrics": [
{},
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "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",
"baseScore": 7.3,
"baseSeverity": "HIGH"
}
},
{
"cvssV3_0": {
"version": "3.0",
"vectorString": "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",
"baseScore": 7.3,
"baseSeverity": "HIGH"
}
},
{
"cvssV2_0": {
"version": "2.0",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C",
"baseScore": 7.5
}
}
],
"timeline": [
{
"time": "2026-11-30T00:00:00.000Z",
"lang": "en",
"value": "Advisory disclosed"
},
{
"time": "2026-11-30T01:00:00.000Z",
"lang": "en",
"value": "VulDB entry created"
},
{
"time": "2026-11-30T17:08:16.000Z",
"lang": "en",
"value": "VulDB entry last update"
}
],
"credits": [
{
"lang": "en",
"value": "EM123 (VulDB User)",
"type": "reporter"
}
],
"tags": [
"x_open-source"
]
}
}
}