{"cve":"CVE-2026-54017","nvd":{"published":"2026-06-18T22:16:32.080","modified":"2026-06-24T19:04:33.017","status":"Analyzed","description":"Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, the terminal-server reverse proxy in `backend/open_webui/routers/terminals.py` does not fully confine the user-controlled `path` segment before forwarding it to an admin-configured terminal server. An authenticated user who has been granted access to a terminal server can craft `path` values containing encoded `../` traversal sequences that escape the intended path (or policy) scope on that server, reaching unintended endpoints and files on the terminal-server host. Where the terminal server fans requests out to internal services, this also gives SSRF-style reach into those services. This is a separate code path from the `/api/v1/retrieval/process/web` SSRF (GHSA-c6xv-rcvw-v685), with its own input. Two distinct vectors are consolidated here: first, raw path forwarding / single-encoded traversal (original report); and second, a bypass of the subsequently-added `_sanitize_proxy_path` mitigation using double-encoded dots (`%252e%252e`). The attacker-controlled input is the request `path`, supplied by the non-admin user, not anything an administrator configures, so this is not an admin-trust / Rule-9 situation. Version 0.9.6 fixes the issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7},"cwes":["CWE-22","CWE-918"],"references":["https://github.com/open-webui/open-webui/security/advisories/GHSA-r2wg-2mcr-66rv","https://github.com/open-webui/open-webui/security/advisories/GHSA-r2wg-2mcr-66rv"],"products":["openwebui:open_webui"],"source":"nvd","synced_at":"2026-10-19T22:39:28.638635428+00:00"},"epss":{"cve":"CVE-2026-54017","score":0.00522,"percentile":0.44323,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r2wg-2mcr-66rv","url":"https://osv.dev/vulnerability/GHSA-r2wg-2mcr-66rv","summary":"Open WebUI: Path traversal / SSRF in terminal server proxy via encoded path traversal","modified":"2026-07-15T22:00:52.691004362Z","packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":["<0.9.6"],"fixed":["0.9.6"]}]},{"id":"PYSEC-2026-2751","url":"https://osv.dev/vulnerability/PYSEC-2026-2751","summary":"Open WebUI: Path traversal / SSRF in terminal server proxy via encoded path traversal","modified":"2026-07-13T16:32:24.102022594Z","packages":[{"ecosystem":"PyPI","name":"open-webui","purl":"pkg:pypi/open-webui","ranges":["<0.9.6"],"fixed":["0.9.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}