{"id":"CVE-2024-7040","details":"In version v0.3.8 of open-webui/open-webui, there is an improper access control vulnerability. On the frontend admin page, administrators are intended to view only the chats of non-admin members. However, by modifying the user_id parameter, it is possible to view the chats of any administrator, including those of other admin (owner) accounts.","modified":"2026-04-10T05:19:31.614194Z","published":"2025-03-20T10:15:35.607Z","references":[{"type":"EVIDENCE","url":"https://huntr.com/bounties/bd182309-4aa4-4747-941e-bbc1741955c1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-webui/open-webui","events":[{"introduced":"0"},{"last_affected":"9bcd4ce5c0a01af68c0d2aa44554a68bb741c61b"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.3.8"}]}}],"versions":["v0.1.102","v0.1.103","v0.1.104","v0.1.105","v0.1.106","v0.1.107","v0.1.108","v0.1.109","v0.1.110","v0.1.111","v0.1.112","v0.1.113","v0.1.114","v0.1.115","v0.1.116","v0.1.117","v0.1.118","v0.1.119","v0.1.120","v0.1.121","v0.1.122","v0.1.123","v0.1.124","v0.1.125","v0.2.0","v0.2.1","v0.2.2","v0.2.3","v0.2.4","v0.2.5","v0.3.0","v0.3.1","v0.3.2","v0.3.3","v0.3.4","v0.3.5","v0.3.6","v0.3.7","v0.3.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7040.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"}]}