CVE-2024-7041: open-webui/open-webui · Insecure Direct Object Reference
Affects open-webui/open-webuiSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubopen-webui/open-webuipkg:github/open-webui/open-webuiOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-7041, organizations should implement strict authorization checks on the server side, ensuring that the user making the API call has explicit permission to update the specified memory object. This includes validating the ownership of the 'id' parameter against the authenticated user's identity before processing any update requests. Employing role-based access control (RBAC) or attribute-based access control (ABAC) mechanisms can help enforce fine-grained permissions. Additionally, input validation should be enhanced to prevent manipulation of user-controlled keys. Until an official patch is released, organizations should consider deploying web application firewalls (WAFs) with custom rules to detect and block suspicious API requests targeting the vulnerable endpoint. Logging and monitoring API access patterns can help identify potential exploitation attempts early. Finally, educating developers about secure API design and the risks of IDOR vulnerabilities will help prevent similar issues in future releases.
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.