MEDIUM4.3
PYSEC-2026-1727
Open WebUI Has Improper Access Control Leading to Arbitrary Prompt Read
Details
In version v0.3.8 of open-webui/open-webui, improper access control vulnerabilities allow an attacker to view any prompts. The application does not verify whether the attacker is an administrator, allowing the attacker to directly call the /api/v1/prompts/ interface to retrieve all prompt information created by the admin, which includes the ID values. Subsequently, the attacker can exploit the /api/v1/prompts/command/{command_id} interface to obtain arbitrary prompt information.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/open-webui
Introduced in:
0No fixed version published yet for open-webui (pip). Pin to a known-safe version or switch to an alternative.