Headline
GHSA-c7fq-p62p-wvpc: Open WebUI Has Improper Access Control Leading to Arbitrary Prompt Read
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.
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2024-7045
Open WebUI Has Improper Access Control Leading to Arbitrary Prompt Read
Moderate severity GitHub Reviewed Published Mar 20, 2025 to the GitHub Advisory Database • Updated Mar 21, 2025
Package
pip open-webui (pip)
Affected versions
<= 0.3.8
Description
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
- https://nvd.nist.gov/vuln/detail/CVE-2024-7045
- https://huntr.com/bounties/03ea0826-af7b-4717-b63e-90fd19675ab2
Published to the GitHub Advisory Database
Mar 20, 2025
Last updated
Mar 21, 2025