CVE-2024-7048: open-webui/open-webui · Incorrect Authorization
Affects open-webui/open-webuiSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium.
Data as of 26 Oct 2026, 10:12 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:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 10 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 26 Oct 2026.
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
- Immediately restrict access to the vulnerable API endpoints (GET /api/v1/documents/ and POST /rag/api/v1/doc) to trusted and authenticated users only, preferably via network segmentation or firewall rules.
- Implement strict role-based access control (RBAC) and verify that authorization checks are enforced server-side for all API requests, ensuring that lower-privileged users cannot access or modify admin-managed files.
- Monitor API usage logs for unusual access patterns or unauthorized attempts to access or overwrite files.
- If possible, disable or isolate the RAG model management features until a patch is available.
- Engage with the open-webui community or vendor to track patch releases and apply updates promptly once available.
- Conduct internal audits of AI model file permissions and integrity to detect any unauthorized changes.
- Consider deploying Web Application Firewalls (WAF) with custom rules to detect and block suspicious API calls targeting these endpoints.
- Educate administrators and developers about the importance of secure API design and privilege separation in AI platforms.
Description
In version v0.3.8 of open-webui, an improper privilege management vulnerability exists in the API endpoints GET /api/v1/documents/ and POST /rag/api/v1/doc. This vulnerability allows a lower-privileged user to access and overwrite files managed by a higher-privileged admin. By exploiting this vulnerability, an attacker can view metadata of files uploaded by an admin and overwrite these files, compromising the integrity and availability of the RAG models.