open-webui/open-webui · Security
open-webui Insecure Direct Object Reference (IDOR) vulnerability
- GHSA ID
- GHSA-xcvc-5hgv-phqg
- CVE ID
- CVE-2024-7041
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 6.5 · CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CVSS v4
- 5.7 · 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
Description
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.
CWEs
- CWE-250 · Execution with Unnecessary Privileges
- CWE-639 · Authorization Bypass Through User-Controlled Key
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-7041 ↗
- https://huntr.com/bounties/6855227f-1237-47b8-8d37-29aad7ddec3a ↗
- https://github.com/open-webui/open-webui/blob/main/backend/apps/webui/routers/memories.py#L71 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-1744.yaml ↗
- https://pypi.org/project/open-webui ↗
- https://github.com/advisories/GHSA-xcvc-5hgv-phqg ↗