PT-2026-50487 · Unknown · Open-Webui
CVSS v3.1
6.4
Medium
| Vector | AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
Open WebUI versions prior to 0.9.6
Description
Open WebUI contains an authorization flaw in its prompt version-history endpoints. While the system authorizes the
prompt id provided in the URL, it fails to verify that the requested history entries actually belong to that specific prompt. An authenticated user with access to any prompt they control can use a victim's history ID to read or delete another user's private prompt history, which may contain private text, internal instructions, and sensitive variables.Technical details regarding the affected endpoints:
- '/api/v1/prompts/id/{prompt id}/history/diff' (GET): Allows reading another prompt's history snapshots.
- '/api/v1/prompts/id/{prompt id}/update/version' (POST): Allows restoring another prompt's snapshot into the caller's prompt, exposing its content.
- '/api/v1/prompts/id/{prompt id}/history/{history id}' (DELETE): Allows deleting another prompt's history entry.
The issue stems from the
compute diff(), update prompt version(), and delete history entry() functions, which fetch history entries globally by ID without ensuring the prompt id matches the authorized prompt.Recommendations
Update to version 0.9.6.
Exploit
Fix
IDOR
Improper Access Control
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Open-Webui