CVE-2026-54009: Open WebUI File Disclosure via Authorization Bypass
Open WebUI, a self-hosted AI platform, contains an authorization flaw that allows authenticated users to read files belonging to other users. When uploading images to the chat API, the system fails to verify file ownership before processing. An attacker can reference another user's file ID, causing the server to retrieve that file, encode it, and pass it to the language model—effectively using the LLM as a file reader to exfiltrate private content. The issue was introduced before version 0.9.6 and has been patched in that release.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses (CWE)
- CWE-639
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-23 / 2026-06-25
NVD description (verbatim)
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, POST /api/chat/completions accepts an image_url.url value that, when it does NOT start with http://, https://, or data:image/, is interpreted as a file id and resolved against the global file table with no ownership check. an authenticated user can therefore set image_url.url to another user's file id, the server reads that file from disk, base64-encodes it, and injects the data URI into the LLM request. the user then prompts the LLM to describe / OCR the file and reads the content back. This vulnerability is fixed in 0.9.6.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-54009 is an authorization bypass (CWE-639) in Open WebUI's POST /api/chat/completions endpoint. The vulnerability occurs in image URL processing: when image_url.url values do not begin with http://, https://, or data:image/ schemes, the system treats them as file identifiers and resolves them against a global file lookup table without performing ownership verification. An authenticated user with knowledge of another user's file ID can construct a chat completion request that causes the server to retrieve, base64-encode, and inject that file as a data URI into the LLM context. The user can then prompt the model to extract, describe, or OCR the content, bypassing file-level access controls entirely. Remediation is available in version 0.9.6 and later.
Business impact
This vulnerability enables lateral data exposure within multi-user Open WebUI deployments. In organizations using Open WebUI for collaborative AI workflows, authenticated users—whether employees, contractors, or partners—can systematically exfiltrate sensitive documents, source code, or personal files belonging to colleagues without leaving obvious audit trails. The LLM's natural ability to interpret and summarize content makes this particularly effective for extracting meaning from PDFs, images, and structured files. While privilege escalation is not possible, the confidentiality breach could expose trade secrets, personal information, or compliance-sensitive materials depending on deployment context.
Affected systems
Open WebUI versions prior to 0.9.6 are affected. The vulnerability requires authentication, so only deployments with user accounts are impacted; however, any instance with multiple users or untrusted users faces exposure. Self-hosted environments, whether on-premise or in cloud instances, are equally at risk. The issue does not affect downstream consumers using Open WebUI via API in a controlled, single-user context, but multi-user SaaS-style deployments are particularly vulnerable.
Exploitability
Exploitation requires valid user credentials and knowledge—or guessable inference—of target file IDs. The attack is straightforward: craft a chat completion request, set image_url.url to a known file ID, and prompt the LLM to describe the content. No special tools or network access are needed beyond the application UI. The CVSS score of 6.5 (Medium) reflects that authentication is mandatory and the impact is confidentiality only; however, the ease of execution and the total absence of application-level logging or notifications for cross-user file access means attacks may go undetected. The attack surface is broad in any organization where user-to-user trust is assumed but not enforced technically.
Remediation
Upgrade to Open WebUI version 0.9.6 or later immediately. The patch implements proper ownership verification before resolving file IDs in the image_url parameter, ensuring users can only reference their own files. Verify the upgrade by checking the application version in the UI or logs. Organizations unable to upgrade immediately should disable file upload features or restrict the chat completions API to single-user or trusted-user-only deployments; however, these are temporary containment measures and do not replace patching.
Patch guidance
Apply Open WebUI 0.9.6 as soon as feasible. The fix is contained in a single release and carries no known breaking changes relative to earlier 0.9.x versions. Deployment method depends on your installation: Docker-based deployments should pull the updated image; source installations should checkout the 0.9.6 tag. Verify after upgrade by confirming the version in application settings and testing that file references are properly scoped to the logged-in user. No database migration or configuration changes are required.
Detection guidance
Monitor application logs for patterns indicating cross-user file access attempts: look for chat API requests that reference file IDs not created by the requesting user, particularly if the same file ID appears in requests from multiple different user accounts. Enable debug logging on the /api/chat/completions endpoint if available. Examine user behavior for unusual LLM prompts requesting OCR, transcription, or description of content the user did not personally upload. Periodic file ownership audits—comparing file metadata to user accounts—can reveal evidence of past access. Note that the vulnerability produces no obvious error messages; successful exploitation appears as ordinary chat requests.
Why prioritize this
While the CVSS score is Medium (6.5), the practical risk is elevated in multi-user deployments due to the ease of exploitation, the silent nature of the attack, and the sensitivity of documents typically stored in AI platforms. The lack of a KEV listing indicates no active exploitation in the wild has been reported; however, the simplicity of the attack and its applicability to any Open WebUI instance with >1 user means this should be treated as a near-term patch priority for affected organizations. Prioritize based on deployment scope: single-user instances are low risk; multi-user enterprise instances are high risk.
Risk score, explained
CVSS 6.5 reflects a network-accessible, low-complexity attack requiring authentication (PR:L) with no user interaction, resulting in high confidentiality impact but no integrity or availability impact (C:H/I:N/A:N). The Medium severity appropriately captures the authentication requirement and absence of system-wide compromise; however, the authorization flaw and potential for bulk data extraction may warrant organizational risk elevation in high-sensitivity environments. Consider internal risk amplification if your deployment hosts classified, regulated, or high-value proprietary content.
Frequently asked questions
Do I need user interaction or network access to exploit this?
No. Any authenticated user of the Open WebUI instance can exploit this remotely via the standard chat UI. No special privileges or out-of-band network access are required.
Can this vulnerability be exploited in single-user deployments?
No, the vulnerability requires at least two user accounts. Single-user Open WebUI instances (or development/test environments) are not exposed.
Does patching to 0.9.6 require me to recreate user accounts or files?
No. The patch is transparent to users and does not affect existing data. After upgrade, file access restrictions are automatically enforced; no manual intervention is needed.
How can I tell if this vulnerability was exploited in my instance?
Examine chat completion request logs for references to file IDs created by other users. If such references exist, cross-reference the requesting user and the file owner to identify unauthorized access. Enable enhanced logging before patching if forensic review is a concern.
This analysis is based on the published CVE record and vendor advisory. Specific patch version numbers and deployment steps should be verified against the official Open WebUI release notes. No exploit code or proof-of-concept is provided. Organizations should conduct internal risk assessment and testing before deploying patches to production systems. SEC.co does not warrant the completeness or accuracy of third-party vendor statements and recommends independent verification of remediation claims. Source: NVD (public-domain), retrieved 2026-07-29. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-54006MEDIUMOpen WebUI Calendar Authorization Bypass – Patch Guidance
- CVE-2026-54015MEDIUMOpen WebUI Prompt History Authorization Bypass
- CVE-2026-54016MEDIUMOpen WebUI BOLA Vulnerability in Knowledge Base Search (0.9.6 Patch)
- CVE-2026-54010HIGHOpen WebUI File Access Control Bypass
- CVE-2023-40200MEDIUMWP Logo Showcase Authorization Bypass Vulnerability (CVSS 5.3)
- CVE-2025-15657MEDIUMUnauthenticated IDOR in School Management – Patch Guidance
- CVE-2026-10023MEDIUMDokan WooCommerce Plugin Order Tampering Vulnerability
- CVE-2026-10038MEDIUMCharitable WordPress Plugin IDOR Arbitrary Attachment Deletion Vulnerability