Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. open-webui
  4. ›
  5. CVE-2026-54015

CVE-2026-54015: Open WebUI Prompt history IDOR: unbound history_id allows cross-prompt read and deletion

June 17, 2026

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). Three operations are affected:

  • GET /api/v1/prompts/id/{prompt_id}/history/diff — returns another prompt’s history snapshots (read).
  • POST /api/v1/prompts/id/{prompt_id}/update/version — restores another prompt’s snapshot into the caller’s prompt, exposing its content (read).
  • DELETE /api/v1/prompts/id/{prompt_id}/history/{history_id} — deletes another prompt’s history entry (delete).

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. The single-entry read endpoint (GET .../history/{history_id}) already enforces the binding; these three did not.

References

  • github.com/advisories/GHSA-4r4w-2wgp-w7cj
  • github.com/open-webui/open-webui/security/advisories/GHSA-4r4w-2wgp-w7cj
  • nvd.nist.gov/vuln/detail/CVE-2026-54015

Code Behaviors & Features

Detect and mitigate CVE-2026-54015 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.6

Fixed versions

  • 0.9.6

Solution

Upgrade to version 0.9.6 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

pypi/open-webui/CVE-2026-54015.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:02 +0000.