PyPA Advisory Database
PYSEC-2026-1744
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | open-webui | All versions before 0.6.3 (fixed in 0.6.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-7041
- https://github.com/open-webui/open-webui
- https://github.com/open-webui/open-webui/blob/main/backend/apps/webui/routers/memories.py#L71
- https://huntr.com/bounties/6855227f-1237-47b8-8d37-29aad7ddec3a
- https://pypi.org/project/open-webui
- https://github.com/advisories/GHSA-xcvc-5hgv-phqg