{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.10.0"
              },
              {
                "fixed": "0.11.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "4d2e13cf2bcc451b33bb6374bea4d2163e6cc94c"
            },
            {
              "fixed": "d9e23b90c100d19b00270aea3cde0501d2354a6c"
            },
            {
              "fixed": "d3e8bf3405e848cfba377814d0aa7ba7290e414d"
            }
          ],
          "repo": "https://github.com/open-webui/open-webui",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3pf7-q2g3-wj28"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-639",
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87997.json"
  },
  "details": "Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.10.0 until 0.11.1, POST /api/chat/completions and POST /api/v1/chat/completions in backend/open_webui/main.py copied a client-supplied folder_id into a new chat without applying the folder write-access check used by the dedicated chat routes. An authenticated user who knew a shared folder identifier could inject an attacker-controlled chat into a folder where the user had read-only or no write access, causing the entry to appear to authorized folder readers. This issue is fixed in version 0.11.1.",
  "id": "CVE-2026-87997",
  "modified": "2026-09-12T03:31:03.063217522Z",
  "published": "2026-09-09T21:30:09.334Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/open-webui/open-webui/releases/tag/v0.11.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87997.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/open-webui/open-webui/security/advisories/GHSA-3pf7-q2g3-wj28"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-87997"
    },
    {
      "type": "FIX",
      "url": "https://github.com/open-webui/open-webui/commit/d9e23b90c100d19b00270aea3cde0501d2354a6c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/open-webui/open-webui/pull/28366"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Open WebUI: Any authenticated user can inject chats into another user's folder via chat completions"
}