CVE-2026-54014
Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, a path traversal vulnerability exists in open-webui's cache file serving endpoint that allows any authenticated user to read files from sibling directories outside the intended cache directory, by exploiting an incomplete startswith containment check that lacks a trailing path separator. The root cause is that serve_cache_file() in open_webui/main.py validates the resolved path with file_path.startswith(os.path.abspath(CACHE_DIR)) — without appending os.sep. This allows any path resolving to a sibling directory whose name begins with cache (e.g. cache_sibling, cache_backup, cached_models) to pass validation. This vulnerability is fixed in 0.9.6.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
open-webuiPyPI | < 0.9.6 | 0.9.6 |
Affected products
2cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*range: <0.9.6
- (no CPE)range: <0.9.6
Patches
Vulnerability mechanics
References
5- github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5cnvdExploitVendor AdvisoryMitigationWEB
- github.com/advisories/GHSA-j2c8-v969-8r5cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-54014ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2736.yamlghsaWEB
- pypi.org/project/open-webuighsaWEB
News mentions
1- Open WebUI: 16 CVEs Disclosed in Single-Day Batch, Many Bypassing Earlier PatchesVypr Intelligence · Jun 17, 2026