| 제목 | KunAgent Kun 0.4.5 Improper Privilege Management |
|---|
| 설명 | Kun up to 0.4.5 admits a turn under a permission snapshot (approvalPolicy, sandboxMode, approvalReviewer) stored on the turn record. While the turn runs, an HTTP client may change the thread's approval policy and sandbox mode; only workspace, knowledge bases, harness and collaboration are frozen. If the runtime crashes or restarts while the turn runs, restart reconciliation marks it failed and auto-resumes it as a continuation turn. The resume path copies the model route and client surface but not the permission snapshot, so admission falls back to the thread record.
A continuation that started under on-request / workspace-write can execute approval-gated shell, file or network tools under a policy widened mid-run. The approval gate is bypassed: the user's earlier decision is replaced by a later, unrelated policy change, and the tool runs unattended. The resumed turn looks like a normal continuation, so the UI does not show a permission change. The impact is bounded by the runtime user's privileges and does not cross users or threads; the trigger is a routine crash/restart plus a policy change while the turn is running, not a second vulnerability. |
|---|
| 원천 | ⚠️ https://github.com/KunAgent/Kun/pull/1458 |
|---|
| 사용자 | EM123 (UID 102854) |
|---|
| 제출 | 2026. 11. 09. PM 12:45 (21 날 ago) |
|---|
| 모더레이션 | 2026. 11. 30. PM 05:03 (21 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 445866 [KunAgent Kun 까지 0.4.5 Turn Resume interrupted-turn-coordinator.ts launchResumeTurn 권한 상승] |
|---|
| 포인트들 | 20 |
|---|