{"id":"CVE-2024-7045","aliases":["GHSA-c7fq-p62p-wvpc","PYSEC-2026-1727"],"title":"Open WebUI Has Improper Access Control Leading to Arbitrary Prompt Read","summary":"Open WebUI Has Improper Access Control Leading to Arbitrary Prompt Read","severity":"medium","cvss":4.3,"cvssVector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","vendor":"open-webui","product":"open-webui","ecosystem":"pip","affected":["open-webui <= 0.3.8"],"published":"2025-03-20","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-c7fq-p62p-wvpc","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7045"},{"url":"https://github.com/open-webui/open-webui"},{"url":"https://huntr.com/bounties/03ea0826-af7b-4717-b63e-90fd19675ab2"}],"tags":["osv","pip"],"epss":0.00401,"epssPercentile":0.33146,"ingestedAt":"2026-07-08T18:25:48.330Z","slug":"CVE-2024-7045","body":"## Overview\n\nIn 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.\n\n## Affected packages\n\n- `open-webui <= 0.3.8`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":23.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}