{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.4.0"
                  },
                  {
                    "last_affected": "0.4.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.4.1"
                  },
                  {
                    "last_affected": "0.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.4.2"
                  },
                  {
                    "last_affected": "0.4.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.4.3"
                  },
                  {
                    "last_affected": "0.4.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.4.4"
                  },
                  {
                    "last_affected": "0.4.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.4.5"
                  },
                  {
                    "last_affected": "0.4.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "1491099133a0518ffa5b8f8d3c08940d5f938879"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.4.6",
                "range": [
                  {
                    "fixed": "e6411842d74055f5203d7c15d84c59b5b98d8b53"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "8e167608c63d2ec67ea01f90962c906b878c3611"
            },
            {
              "fixed": "1491099133a0518ffa5b8f8d3c08940d5f938879"
            },
            {
              "fixed": "e6411842d74055f5203d7c15d84c59b5b98d8b53"
            }
          ],
          "repo": "https://github.com/kunagent/kun",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.4.0",
        "0.4.1",
        "0.4.2",
        "0.4.3",
        "0.4.4",
        "0.4.5"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-285",
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139891.json"
  },
  "details": "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.",
  "id": "CVE-2026-139891",
  "modified": "2026-12-02T20:46:03.933072568Z",
  "published": "2026-12-01T00:15:29.533Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/KunAgent/Kun/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139891.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139891"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-139891"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1082491"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/445866"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/445866/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/KunAgent/Kun/commit/1491099133a0518ffa5b8f8d3c08940d5f938879"
    },
    {
      "type": "FIX",
      "url": "https://github.com/KunAgent/Kun/pull/1458"
    },
    {
      "type": "FIX",
      "url": "https://github.com/KunAgent/Kun/releases/tag/v0.4.6"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "KunAgent Kun Turn Resume interrupted-turn-coordinator.ts launchResumeTurn authorization"
}