Description
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.6 before 0.10.0, _sanitize_proxy_path in backend/open_webui/routers/terminals.py decoded proxy paths only eight times, allowing a nine-times percent-encoded ../ traversal value to pass normalization checks and be decoded by the upstream terminal server. This issue is fixed in version 0.10.0.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CWE-918: Server-Side Request Forgery (SSRF)
Product status
References
github.com/...-webui/security/advisories/GHSA-frvj-c5qp-xj4w
github.com/...-webui/security/advisories/GHSA-frvj-c5qp-xj4w
github.com/open-webui/open-webui/pull/26050
github.com/...ommit/05098d25a58d03738e01c4e85e8852c3b4ad849c
github.com/open-webui/open-webui/releases/tag/v0.10.0