CVE-2026-54014
Open WebUI is a self-hosted artificial intelligence platform …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c
- github.com/advisories/GHSA-j2c8-v969-8r5c
- nvd.nist.gov/vuln/detail/CVE-2026-54014
- github.com/open-webui/open-webui
- github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2736.yaml
- pypi.org/project/open-webui
- nvd.nist.gov/vuln/detail/CVE-2026-54014
- cve.org/CVERecord?id=CVE-2026-54014
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.