MEDIUM6.5
PYSEC-2026-1744
open-webui Insecure Direct Object Reference (IDOR) vulnerability
Quick fix
PYSEC-2026-1744 — open-webui: upgrade to the fixed version with the command below.
pip install --upgrade 'open-webui>=0.6.3'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-7041[ADVISORY]
- https://github.com/open-webui/open-webui[PACKAGE]
- https://github.com/open-webui/open-webui/blob/main/backend/apps/webui/routers/memories.py#L71[WEB]
- https://huntr.com/bounties/6855227f-1237-47b8-8d37-29aad7ddec3a[WEB]
- https://pypi.org/project/open-webui[PACKAGE]
- https://github.com/advisories/GHSA-xcvc-5hgv-phqg[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/open-webui"]}'