CVE-2026-45402
Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.5, multiple endpoints accept a user-supplied file_id and attach the referenced file to a resource the caller controls (folder knowledge, knowledge-base contents) without verifying that the caller owns or has been granted access to the file. The file's content then becomes reachable through the downstream RAG / file-content paths, allowing any authenticated user to exfiltrate any other user's private file — and on the knowledge-base path, also to overwrite it — given knowledge of the file's UUID. This affects backend/open_webui/routers/folders.py (POST /api/v1/folders/{id}/update), backend/open_webui/routers/knowledge.py (add_file_to_knowledge_by_id), and backend/open_webui/routers/knowledge.py (add_files_to_knowledge_by_id_batch). This vulnerability is fixed in 0.9.5.
Weakness
- CWE-639: Authorization Bypass Through User-Controlled Key
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-05-18 |
Timeline
- 2026-05-14GitHub advisory published (GHSA-r472-mw7m-967f)1 day before publication
- 2026-05-15Published by the CNA20:40 UTC
- 2026-05-18CISA SSVC decision recorded3 days after publication
Exploit and advisory records
GitHub advisory GHSA-r472-mw7m-967f, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI open-webui | before 0.9.5 | 0.9.5 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openwebui open_webui | before 0.9.5fixed in 0.9.5 | 0.9.5 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-45402'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-45402'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-45402'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-45402'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).