{"id":"GHSA-xcvc-5hgv-phqg","summary":"open-webui Insecure Direct Object Reference (IDOR) vulnerability","details":"An Insecure Direct Object Reference (IDOR) vulnerability exists in open-webui/open-webui version v0.3.8. The vulnerability occurs in the API endpoint `http://0.0.0.0:3000/api/v1/memories/{id}/update`, where the decentralization design is flawed, allowing attackers to edit other users' memories without proper authorization.","aliases":["CVE-2024-7041","PYSEC-2026-1744"],"modified":"2026-07-07T17:57:12.412221554Z","published":"2024-10-09T21:31:08Z","database_specific":{"cwe_ids":["CWE-250","CWE-639"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-10-09T22:10:34Z","nvd_published_at":"2024-10-09T20:15:09Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7041"},{"type":"PACKAGE","url":"https://github.com/open-webui/open-webui"},{"type":"WEB","url":"https://github.com/open-webui/open-webui/blob/main/backend/apps/webui/routers/memories.py#L71"},{"type":"WEB","url":"https://huntr.com/bounties/6855227f-1237-47b8-8d37-29aad7ddec3a"}],"affected":[{"package":{"name":"open-webui","ecosystem":"PyPI","purl":"pkg:pypi/open-webui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.3.8"}]}],"versions":["0.1.124","0.1.125","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.3.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-xcvc-5hgv-phqg/GHSA-xcvc-5hgv-phqg.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:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"}]}