GHSA-4r4w-2wgp-w7cj: Open WebUI Prompt history IDOR: unbound history_id allows cross-prompt read and deletion
- Identifiers
- CVE-2026-54015GHSA-4r4w-2wgp-w7cj
- Published
- Record updated
- Affected
- open-webui <= 0.9.5
- Fixed in
- 0.9.6
- released June 1, 2026, 16 days before disclosure
Summary
Open WebUI's prompt version-history endpoints check access to the prompt_id in the URL but then act on caller-supplied history IDs without confirming that the history row belongs to that prompt. Three operations are affected: GET /api/v1/prompts/id/{prompt_id}/history/diff, which returns other prompts' snapshots; POST .../update/version, which restores a foreign snapshot into the caller's prompt; and DELETE .../history/{history_id}, which deletes another prompt's history entry. An authenticated user who has a victim prompt_history.id can read or delete another user's private prompt history, and the active prompt row itself is not destroyed.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online