{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139890",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2026-11-30T16:02:31.785Z",
        "datePublished": "2026-12-01T00:00:29.864Z",
        "dateUpdated": "2026-12-01T14:26:43.145Z"
    },
    "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",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-285",
                            "lang": "en",
                            "description": "Improper Authorization"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-266",
                            "lang": "en",
                            "description": "Incorrect Privilege Assignment"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "KunAgent",
                    "product": "Kun",
                    "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"
                        }
                    ],
                    "cpes": [
                        "cpe:2.3:a:kunagent:kun:*:*:*:*:*:*:*:*"
                    ],
                    "modules": [
                        "Workflow Hooks"
                    ]
                }
            ],
            "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."
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "version": "4.0",
                        "baseScore": 6.9,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 7.3,
                        "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",
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 7.3,
                        "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",
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 7.5,
                        "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C"
                    }
                }
            ],
            "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"
                }
            ],
            "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"
                    ]
                }
            ],
            "tags": [
                "x_open-source"
            ],
            "x_generator": [
                "VulDB PVTS v202612"
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-01T14:26:04.859578Z",
                                "id": "CVE-2026-139890",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-01T14:26:43.145Z"
                }
            }
        ]
    }
}