Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. open-webui
  4. ›
  5. CVE-2026-54014

CVE-2026-54014: Open WebUI: Sibling-Prefix Path Traversal via /cache/{path}

June 17, 2026 (updated July 20, 2026)

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.

Deep traversal and absolute paths are correctly blocked. The bypass is narrow but confirmed — limited to sibling-prefix directories.

References

  • github.com/advisories/GHSA-j2c8-v969-8r5c
  • github.com/open-webui/open-webui
  • github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c
  • github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2736.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-54014
  • pypi.org/project/open-webui

Code Behaviors & Features

Detect and mitigate CVE-2026-54014 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.9.6

Fixed versions

  • 0.9.6

Solution

Upgrade to version 0.9.6 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/open-webui/CVE-2026-54014.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:43 +0000.