{"id":"CVE-2026-54014","published":"2026-06-23T16:45:39Z","modified":"2026-06-24T13:32:26Z","title":"Open WebUI: Sibling-Prefix Path Traversal via /cache/{path} in open-webui/open-webui","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00361,"percentile":0.30647,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":6.13},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":["< 0.9.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-24T13:29:17.753186Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":["<0.9.6"],"patched":["0.9.6"],"from":["GHSA-j2c8-v969-8r5c","PYSEC-2026-2736"],"provenance":"source"}],"summary":{"text":"Open WebUI, the self-hosted AI platform, contains a path traversal flaw in its cache file serving endpoint (/cache/{path}, handled by serve_cache_file() in open_webui/main.py), where the containment check uses a startswith comparison without a trailing path separator. An attacker with a valid user account on the network can exploit this without user interaction to read files from sibling directories whose names begin with \"cache\", such as cache_backup or cached_models, which the check incorrectly treats as inside the cache directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:50Z"},"euvd":{"id":"EUVD-2026-38528","exploited":false,"provenance":"source"}}