Skip to main content
← All vulnerabilities
CVE-2026-54014PYSEC-2026-2736GHSA-J2C8-V969-8R5C

Open WebUI: Sibling-Prefix Path Traversal via /cache/{path} in open-webui/open-webui

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.9.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • open-webui open-webui

    fixed in 0.9.6

  • open-webuiPyPI

    fixed in 0.9.6

References 1

GitHub · open-webui/open-webui