{"id":"CVE-2026-54015","published":"2026-06-23T16:44:57Z","modified":"2026-06-24T14:20:27Z","title":"Open WebUI: Prompt history IDOR: unbound history_id allows cross-prompt read and deletion","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, Open WebUI's prompt version-history endpoints authorize the prompt_id in the URL but then act on caller-supplied history IDs without verifying that the history row belongs to that prompt (history_entry.prompt_id == prompt.id). This affects /api/v1/prompts/id/{prompt_id}/history/diff, /api/v1/prompts/id/{prompt_id}/update/version, and /api/v1/prompts/id/{prompt_id}/history/{history_id}. An authenticated user with access to any prompt they control, plus a victim prompt_history.id, can read or delete another user's private prompt history. This vulnerability is fixed in 0.9.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00269,"percentile":0.19499,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-4r4w-2wgp-w7cj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":3.9},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":["< 0.9.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-24T14:19:52.815045Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":["<0.9.6"],"patched":["0.9.6"],"from":["GHSA-4r4w-2wgp-w7cj","PYSEC-2026-2701"],"provenance":"source"}],"summary":{"text":"Open WebUI, the self-hosted offline AI platform, has an authorization flaw in its prompt version-history endpoints (the diff, update-version and per-history routes under /api/v1/prompts/id/{prompt_id}/). The server checks the prompt_id in the URL but does not verify that the caller-supplied history ID belongs to that prompt. An authenticated user who can access one of their own prompts and knows a victim's history entry ID can read or delete another user's private prompt history, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:50Z"},"euvd":{"id":"EUVD-2026-38527","exploited":false,"provenance":"source"}}