{"id":"CVE-2024-7045","summary":"Improper Access Control in open-webui/open-webui","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.","aliases":["GHSA-c7fq-p62p-wvpc","PYSEC-2026-1727"],"modified":"2026-08-12T03:51:46.174982899Z","published":"2025-03-20T10:10:18.155Z","database_specific":{"cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7045.json","cna_assigner":"@huntr_ai"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/03ea0826-af7b-4717-b63e-90fd19675ab2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7045.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7045"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-webui/open-webui","events":[{"introduced":"9bcd4ce5c0a01af68c0d2aa44554a68bb741c61b"},{"last_affected":"9bcd4ce5c0a01af68c0d2aa44554a68bb741c61b"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:openwebui:open_webui:0.3.8:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.3.8"},{"last_affected":"0.3.8"}]}}],"versions":["0.3.8","v0.3.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7045.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}