{"id":"CVE-2026-54017","published":"2026-06-18T21:09:07Z","modified":"2026-06-22T14:17:11Z","title":"Open WebUI: Path traversal / SSRF in terminal server proxy via encoded path traversal","vendor":"open-webui","product":"open-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00418,"percentile":0.37007,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-r2wg-2mcr-66rv","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":7.4},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.39}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-09","earliestUrl":"https://github.com/federiconbaez/cortex9-open-webui-proxy-multidecode-traversal-model","repos":[{"name":"federiconbaez/cortex9-open-webui-proxy-multidecode-traversal-model","url":"https://github.com/federiconbaez/cortex9-open-webui-proxy-multidecode-traversal-model","stars":0,"created":"2026-11-09"}]},"first":{"date":"2026-11-09","source":"PoC-in-GitHub","url":"https://github.com/federiconbaez/cortex9-open-webui-proxy-multidecode-traversal-model"},"provenance":"source"},"vendorSlug":"open-webui","affectedVersions":[{"vendor":"open-webui","product":"open-webui","versions":["< 0.9.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T14:14:05.304709Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"open-webui","vulnerableRanges":["<0.9.6"],"patched":["0.9.6"],"from":["GHSA-r2wg-2mcr-66rv","PYSEC-2026-2751"],"provenance":"source"}],"summary":{"text":"The Open WebUI terminal-server reverse proxy in backend/open_webui/routers/terminals.py fails to fully confine the user-supplied path segment before forwarding it to an admin-configured terminal server, affecting versions prior to 0.9.6. An authenticated user with access to a terminal server can submit encoded \"../\" traversal sequences in the path (including a double-encoded variant that bypasses the added sanitisation) to reach unintended endpoints and files on the terminal-server host, and, where that server fans out to internal services, SSRF-style access to them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:42Z"},"euvd":{"id":"EUVD-2026-37953","exploited":false,"provenance":"source"}}