Skip to main content
VulnerabilityPublished Updated

CVE-2024-7048: open-webui/open-webui · Incorrect Authorization

Affects open-webui/open-webuiSource CVE Database V5

0

Not known to be exploited · CVSS 6.3 Medium.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubopen-webui/open-webuipkg:github/open-webui/open-webuiOther threatsAffected
  • =0.3.8
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. 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.
  2. 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.
  3. Monitor API usage logs for unusual access patterns or unauthorized attempts to access or overwrite files.
  4. If possible, disable or isolate the RAG model management features until a patch is available.
  5. Engage with the open-webui community or vendor to track patch releases and apply updates promptly once available.
  6. Conduct internal audits of AI model file permissions and integrity to detect any unauthorized changes.
  7. Consider deploying Web Application Firewalls (WAF) with custom rules to detect and block suspicious API calls targeting these endpoints.
  8. 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.

References

Community reviews

Loading reviews…