All vulnerabilities

Servers and applications

CVE-2026-54015

Prompt history IDOR: unbound history_id allows cross-prompt read and deletion

Severity
Medium 6.4
Published
11 Jun 2026
Last changed
25 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.9.6
Exploit chance
0.3% in the next 30 daysHigher than 19% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper access control (CWE-284)Authorization bypass through a user-controlled key (IDOR) (CWE-639)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L
Also known as
GHSA-4r4w-2wgp-w7cj
Sources
NVD, Project advisories (GitHub)

Description

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.

Security boundary crossed: prompt confidentiality and integrity.

From open-webui/open-webui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cpe:a:openwebui:open_webui
  • Every version before 0.9.6
Open WebUIServers and applications · github:open-webui/open-webui
  • Every version before 0.9.6

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
355,496PyPI Stats, 15 Nov 2026
Docker Hub pulls
990,663Docker Hub, 15 Nov 2026
GitHub stars
158,684GitHub, 15 Nov 2026
Forks
23,075GitHub, 15 Nov 2026
Latest release
v0.13.3GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
multi-licensingWikidata
First published on GitHub
6 Oct 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-54015
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-54015
  • GitHub Advisory Database https://github.com/advisories/GHSA-4r4w-2wgp-w7cj
  • github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-4r4w-2wgp-w7cj