mediumCVSS 4.3NVD status: Analyzed

CVE-2026-54014

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline.

ComponentOpen WebUI
Severitymedium (CVSS 4.3)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Published (NVD)2026-06-23
Last modified2026-06-25
Affected versions
open_webui < 0.9.6
Fixed in0.9.6
WeaknessCWE-22
CISA KEVnot listed

NVD 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.

Does CVE-2026-54014 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for Open WebUI.
Check my stack

What to do

  • Upgrade Open WebUI to 0.9.6 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more

Other Open WebUI CVEs

All Open WebUI CVEs