PT-2026-50487 · Unknown · Open-Webui

·

CVE-2026-54015

·

Published

2026-06-17

·

Updated

2026-07-13

CVSS v3.1

6.4

Medium

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54015
GHSA-4R4W-2WGP-W7CJ
PYSEC-2026-2701

Affected Products

Open-Webui