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

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-17T14:16:50.000Z
- Modified: 2026-07-20T21:15:26.084Z
- Also known as: GHSA-4r4w-2wgp-w7cj, PYSEC-2026-2701
- Weaknesses: CWE-284, CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- open-webui open-webui: < 0.9.6
- open-webui (PyPI): before 0.9.6
- openwebui open_webui: before 0.9.6

## Every score

- GitHub_M: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L`
- PyPA Advisory Database: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-4r4w-2wgp-w7cj> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54015> (advisory)
- <https://github.com/advisories/GHSA-4r4w-2wgp-w7cj> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2701.yaml> (web)
- <https://pypi.org/project/open-webui> (package, web)

## Sources

- CVE List: [CVE-2026-54015](https://www.cve.org/CVERecord?id=CVE-2026-54015), CVE Terms of Use, modified 2026-06-24
- GitHub Advisory Database: [GHSA-4r4w-2wgp-w7cj](https://github.com/advisories/GHSA-4r4w-2wgp-w7cj), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-54015](https://nvd.nist.gov/vuln/detail/CVE-2026-54015), Public domain, modified 2026-06-25
- PyPA Advisory Database: [PYSEC-2026-2701](https://osv.dev/vulnerability/PYSEC-2026-2701), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-54015 · Whole record: https://cve.day/CVE-2026-54015.json · Rebuilt by cve.day 2026-11-25T22:59:25.512Z
