CASEBOOK

Browse / AI Framework and Platform Flaws / CVE-2024-7045

Open WebUI Has Improper Access Control Leading to Arbitrary Prompt Read

CVE-2024-7045 ยท 2025-03-20 moderate

Class
AI Framework and Platform Flaws (filed by a model that read the source)
Technique
Authentication and access control
Affected
open-webui (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

How it works, in short

The prompts API does not check for administrator rights, so any user can list other users' prompts and fetch them by command ID. (Our summary, written by a model. The source text is below.)

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.