CVE-2026-54017 Open WebUI: Path traversal / SSRF in terminal server proxy via encoded path traversal

High 7.7 Published Updated

Authenticated users can exploit path traversal in the terminal server proxy to access unauthorized files and internal services via SSRF.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-54017?

CVE-2026-54017 is a high-severity path traversal vulnerability in Openwebui Open Webui, published on 18 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-918, CWE-22

Which versions are affected by CVE-2026-54017?

3 open source packages ship an affected version, including open-webui. It affects 1 product.

PackageAffectedFixed in
open-webui PyPIAll versions0.9.6
open-webui PyPIAll versions0.9.6
open-webui PyPIAll versions0.9.6

Products include Openwebui Open Webui.

How do I fix CVE-2026-54017?

Upgrade open-webui to 0.9.6 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-54017 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54017 exists.

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-r2wg-2mcr-66rv, PYSEC-2026-2751.

Is CVE-2026-54017 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free