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 authorization. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. Upgrading to version 0.4.6 is able to mitigate this issue. The identifier of the patch is 1491099133a0518ffa5b8f8d3c08940d5f938879. Upgrading the affected component is advised.
PUBLISHED5.2ApplicationCWE-863CWE-285x_open-source
KunAgent Kun Turn Resume interrupted-turn-coordinator.ts launchResumeTurn 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-445866 | KunAgent Kun Turn Resume interrupted-turn-coordinator.ts launchResumeTurn authorization
https://vuldb.com/vuln/445866
VDB-445866 | CTI Indicators (IOB, IOC, IOA)
https://vuldb.com/vuln/445866/cti
CVE-2026-139891 | CVE Analysis and Report
https://vuldb.com/cve/CVE-2026-139891
Submit #1082491 | KunAgent Kun 0.4.5 Improper Privilege Management
https://vuldb.com/submit/1082491
github.com
https://github.com/KunAgent/Kun/pull/1458
github.com
https://github.com/KunAgent/Kun/commit/1491099133a0518ffa5b8f8d3c08940d5f938879
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-139891Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-139891",
"assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"assignerShortName": "VulDB",
"dateUpdated": "2026-12-01T00:15:29.533Z",
"dateReserved": "2026-11-30T16:02:35.585Z",
"datePublished": "2026-12-01T00:15:29.533Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"shortName": "VulDB",
"dateUpdated": "2026-12-01T00:15:29.533Z"
},
"title": "KunAgent Kun Turn Resume interrupted-turn-coordinator.ts launchResumeTurn authorization",
"descriptions": [
{
"lang": "en",
"value": "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 authorization. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. Upgrading to version 0.4.6 is able to mitigate this issue. The identifier of the patch is 1491099133a0518ffa5b8f8d3c08940d5f938879. Upgrading the affected component is advised."
}
],
"affected": [
{
"vendor": "KunAgent",
"product": "Kun",
"cpes": [
"cpe:2.3:a:kunagent:kun:*:*:*:*:*:*:*:*"
],
"modules": [
"Turn Resume"
],
"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": "Incorrect Authorization",
"cweId": "CWE-863",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"lang": "en",
"description": "Improper Authorization",
"cweId": "CWE-285",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://vuldb.com/vuln/445866",
"name": "VDB-445866 | KunAgent Kun Turn Resume interrupted-turn-coordinator.ts launchResumeTurn authorization",
"tags": [
"vdb-entry",
"technical-description"
]
},
{
"url": "https://vuldb.com/vuln/445866/cti",
"name": "VDB-445866 | CTI Indicators (IOB, IOC, IOA)",
"tags": [
"signature",
"permissions-required"
]
},
{
"url": "https://vuldb.com/cve/CVE-2026-139891",
"name": "CVE-2026-139891 | CVE Analysis and Report",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://vuldb.com/submit/1082491",
"name": "Submit #1082491 | KunAgent Kun 0.4.5 Improper Privilege Management",
"tags": [
"third-party-advisory"
]
},
{
"url": "https://github.com/KunAgent/Kun/pull/1458",
"tags": [
"exploit",
"issue-tracking",
"patch"
]
},
{
"url": "https://github.com/KunAgent/Kun/commit/1491099133a0518ffa5b8f8d3c08940d5f938879",
"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:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C",
"baseScore": 5.3,
"baseSeverity": "MEDIUM"
}
},
{
"cvssV3_0": {
"version": "3.0",
"vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C",
"baseScore": 5.3,
"baseSeverity": "MEDIUM"
}
},
{
"cvssV2_0": {
"version": "2.0",
"vectorString": "AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C",
"baseScore": 4.3
}
}
],
"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:26.000Z",
"lang": "en",
"value": "VulDB entry last update"
}
],
"credits": [
{
"lang": "en",
"value": "EM123 (VulDB User)",
"type": "reporter"
}
],
"tags": [
"x_open-source"
]
}
}
}