PT-2026-50486 · Unknown · Open-Webui
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Open WebUI versions prior to 0.9.6
Description
A path traversal issue exists in the cache file serving endpoint '/cache/{path:path}' that allows authenticated users with the role of
user or admin to read files from sibling directories outside the intended cache directory. The problem occurs in the serve cache file() function within open webui/main.py due to an incomplete containment check using startswith() that lacks a trailing path separator. This allows any path resolving to a sibling directory whose name begins with the word cache (such as cache sibling, cache backup, or cached models) to pass validation. Deep traversal and absolute paths are correctly blocked.Recommendations
Update to version 0.9.6.
As a temporary workaround, restrict access to the '/cache/{path:path}' endpoint to only trusted administrative users until the update is applied.
Exploit
Fix
DoS
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Open-Webui