{
  "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": "f90bb8be469248bc3b2677c66b4260793e0aa380"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.4.6",
                "range": [
                  {
                    "fixed": "e6411842d74055f5203d7c15d84c59b5b98d8b53"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "8e167608c63d2ec67ea01f90962c906b878c3611"
            },
            {
              "fixed": "f90bb8be469248bc3b2677c66b4260793e0aa380"
            },
            {
              "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-266",
      "CWE-285"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139890.json"
  },
  "details": "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.",
  "id": "CVE-2026-139890",
  "modified": "2026-12-02T20:45:19.458967313Z",
  "published": "2026-12-01T00:00:29.864Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/KunAgent/Kun/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139890.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139890"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-139890"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1082490"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/445865"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/445865/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/KunAgent/Kun/commit/f90bb8be469248bc3b2677c66b4260793e0aa380"
    },
    {
      "type": "FIX",
      "url": "https://github.com/KunAgent/Kun/pull/1457"
    },
    {
      "type": "FIX",
      "url": "https://github.com/KunAgent/Kun/releases/tag/v0.4.6"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "KunAgent Kun Workflow Hooks hook-config.ts buildWorkflowHookRun improper authorization"
}