CVE-2026-54014

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

Configuration 1 (hide)

cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*

History

25 Jun 2026, 14:36

Type Values Removed Values Added
First Time Openwebui open Webui
Openwebui
References () https://github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c - () https://github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c - Exploit, Vendor Advisory, Mitigation
CPE cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*

24 Jun 2026, 14:17

Type Values Removed Values Added
References () https://github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c - () https://github.com/open-webui/open-webui/security/advisories/GHSA-j2c8-v969-8r5c -

23 Jun 2026, 18:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-23 18:18

Updated : 2026-06-25 14:36


NVD link : CVE-2026-54014

Mitre link : CVE-2026-54014

CVE.ORG link : CVE-2026-54014


JSON object : View

Products Affected

openwebui

  • open_webui
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')