{
  "id": "ghsl-2026-002",
  "title": "GitHub Security Lab AI agent finds tool-permission bypass in Open WebUI",
  "product": "Open WebUI",
  "ai_system": "GitHub Security Lab AI agent",
  "organization": "GitHub Security Lab",
  "summary": "Open WebUI v0.6.43 chat completion accepts caller-supplied tool IDs/servers without checking the user’s permission; server-held credentials may then invoke restricted tools with server privileges.",
  "ai_role": "GHSL credits an AI agent it developed, reviewed by Man Yue Mo and Peter Stöckli. GHSL records the report on 2026-01-05 and links the vendor advisory.",
  "disclosure_date": "2026-05-15",
  "ai_attribution_date": "2026-05-15",
  "classification": "disclosure",
  "classification_note": "The public advisory documents the vulnerability and disclosure/remediation status. It does not claim exploitation in the wild.",
  "cves": [
    "CVE-2026-45350"
  ],
  "source_url": "https://securitylab.github.com/advisories/GHSL-2026-002_Open_WebUI/",
  "ai_source_url": "https://securitylab.github.com/advisories/GHSL-2026-002_Open_WebUI/",
  "remediation": "fix documented",
  "remediation_note": "The vendor advisory reports local tool access fixed in v0.7.0 and the MCP server path fixed in v0.8.6; users on v0.8.6 or later are not affected.",
  "advisory_url": "https://github.com/open-webui/open-webui/security/advisories/GHSA-4pcg-253r-rf9w",
  "checked_date": "2026-11-15",
  "cvss": [
    {
      "cve": "CVE-2026-45350",
      "version": "3.1",
      "score": 7.1,
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/45xxx/CVE-2026-45350.json",
      "source_name": "GitHub_M (CNA; CVE Program record)",
      "checked_date": "2026-11-16"
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-45350"
      ],
      "consequences": [
        "other"
      ],
      "conditions": "CNA description: Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.8.6, there is a vulnerability in chat completion API, which allows attackers to bypass tool restrictions, potentially enabling unauthorized actions or access. In the chat_completion API, the parameters tool_ids and tool_servers are supplied by the user. These parameters are used to create a tools_dict by the middleware. This is then used by get_tool_by_id to retrieve the appropriate tool. However, there is no checks in that ensures the user that uses the API has permission to use the tool, meaning that a user can invoke any server tool by supplying the correct tool_id or tool_servers parameters via the chat completion API. Moreover, the authentication token stored in the server would be used when invoking the tool, so the tool will be invoked with the server privilege. This vulnerability is fixed in 0.8.6.",
      "exploitation": "Exploitation in the wild is not established by the cited description.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/45xxx/CVE-2026-45350.json",
      "checked_date": "2026-11-16"
    }
  ]
}
