CVE-2026-54017: Open WebUI Terminal Proxy Path Traversal (v0.9.6 Fix)
Open WebUI, a self-hosted AI platform, contains a path traversal vulnerability in its terminal-server reverse proxy. An authenticated user with terminal access can manipulate the request path using encoded traversal sequences (like `../`) to bypass intended boundaries and reach files or endpoints they shouldn't access on the terminal server or connected internal services. The vulnerability affects versions before 0.9.6 and requires valid user authentication to exploit, but no special privileges beyond terminal access.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.7 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Weaknesses (CWE)
- CWE-22, CWE-918
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-18 / 2026-06-24
NVD description (verbatim)
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.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in `backend/open_webui/routers/terminals.py`, where user-supplied `path` parameters are forwarded to an admin-configured terminal server without proper confinement. The original path traversal vector uses single-encoded sequences; however, a subsequent mitigation attempt using `_sanitize_proxy_path` can be bypassed with double-encoded dots (`%252e%252e`). This creates two distinct exploitation pathways within the same code flow. Where the terminal server proxies requests to backend services, authenticated attackers gain SSRF-like access to those internal endpoints. This differs from CVE-2024-56765 (GHSA-c6xv-rcvw-v685), which targets `/api/v1/retrieval/process/web` through a separate input vector.
Business impact
An authenticated attacker can read sensitive files from the terminal server host, access configuration files, retrieve credentials or API keys, and pivot to internal services that the terminal server connects to. In environments where Open WebUI is used for development or administrative automation, this could expose source code, deployment secrets, or access to connected AI models and databases. The impact is contained to users with existing terminal access, but the scope is changed—an attacker can reach systems beyond the intended terminal boundary.
Affected systems
Open WebUI versions prior to 0.9.6 are affected. The vulnerability requires a deployed terminal server integrated with Open WebUI and an authenticated user account with terminal access permissions. Self-hosted instances running vulnerable versions and exposing terminal functionality face the highest risk.
Exploitability
Exploitation requires valid authentication and terminal-server access (a feature that must be explicitly enabled and configured). No user interaction is needed once authenticated. The attack is straightforward—path parameters can be manipulated via HTTP request, and no special client capabilities are required. However, the CVSS score (7.7 HIGH) reflects that exploitation is practical for any user with terminal permissions; it is not widespread yet (KEV status: not listed) and depends on environmental configuration.
Remediation
Upgrade Open WebUI to version 0.9.6 or later. This version implements robust path normalization that prevents both single and double-encoded traversal sequences. For organizations unable to patch immediately, restrict terminal-server access to trusted administrators only and audit current user permissions.
Patch guidance
Update to Open WebUI 0.9.6 or any subsequent release. Verify the patch is applied by checking the running version in your Open WebUI instance settings or deployment manifest. If using container deployments, rebuild with the latest image tag. Test the update in a non-production environment first to ensure compatibility with your terminal-server configuration.
Detection guidance
Monitor terminal server access logs for requests containing encoded path traversal patterns: `../`, `..%2f`, `%2e%2e`, and `%252e%252e` sequences in the `path` parameter. Search application logs for HTTP 400 or 403 responses to unusual path requests from authenticated users. Network-based detection should flag outbound connections from the terminal-server host to unexpected internal services initiated by authenticated users with terminal permissions. Correlate authentication logs with file-access or service-enumeration activity on the terminal server.
Why prioritize this
Although currently not listed on CISA's KEV catalog, this is a HIGH-severity vulnerability affecting a self-hosted AI platform that may operate in sensitive environments. The dual vectors (original traversal and mitigation bypass) indicate that patching attempts have been necessary, which increases urgency. The attack surface is limited by authentication and feature configuration, but for organizations that do expose terminal functionality, the ease of exploitation and severity of information disclosure warrant rapid patching. Prioritize if your deployment uses Open WebUI with terminal-server integration.
Risk score, explained
CVSS 7.7 (HIGH) reflects a network-accessible service, low complexity, requirement for authentication (not admin), and high confidentiality impact with changed scope—the attacker can reach services beyond the intended terminal boundary. Integrity and availability are not impacted. The score appropriately captures the practical threat: authenticated users can systematically extract sensitive data without requiring additional privileges or user interaction.
Frequently asked questions
Do I need to enable terminal functionality for this to affect me?
Yes. This vulnerability only impacts Open WebUI deployments that have a terminal server configured and users with terminal access granted. If you have not explicitly set up terminal integration, you are not affected. Check your Open WebUI administrative settings under 'Terminal' or 'System' configuration.
Can this vulnerability be exploited remotely by unauthenticated users?
No. The vulnerability requires valid authentication to Open WebUI and explicit terminal-access permissions. However, if your Open WebUI instance is exposed to the internet with weak authentication, the barrier is lower. Always enforce strong authentication and network controls.
What is the difference between this CVE and the retrieval/process/web SSRF mentioned in the description?
They are separate vulnerabilities in different code paths with different input vectors. The retrieval SSRF affects the `/api/v1/retrieval/process/web` endpoint and uses a different parameter. This path-traversal vulnerability targets the terminal proxy specifically. Both have been fixed in 0.9.6.
If I've patched to 0.9.6, are all path-traversal issues in the terminal proxy resolved?
Version 0.9.6 implements comprehensive path normalization to block both single and double-encoded traversal sequences. However, always verify the patch in your environment and monitor for any new advisories. Keep Open WebUI updated as new releases become available.
This analysis is based on the official vulnerability description and CVSS vector as of the publication date. No exploit code or proof-of-concept details are provided. Organizations should verify patch applicability against their specific Open WebUI version and deployment configuration. For the most current information, consult the official Open WebUI security advisory and release notes. This intelligence is provided for informational purposes and does not constitute professional security advice. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2016-20076HIGHWordPress Simple-Backup 2.7.11 Unauthenticated File Access & Deletion Vulnerability
- CVE-2016-20081HIGHHB Audio Gallery Lite Path Traversal Vulnerability – Unauthenticated File Download
- CVE-2017-20248HIGHApptha Slider Gallery Path Traversal Vulnerability
- CVE-2017-20250HIGHMac Photo Gallery 3.0 Path Traversal File Download Vulnerability
- CVE-2018-25408HIGHOpen ISES Project Path Traversal Vulnerability (High Severity)
- CVE-2024-32729HIGHPath Traversal in QuantumCloud Conversational Forms for ChatBot (CVSS 7.5)
- CVE-2024-40646HIGHVertex Path Traversal Vulnerability – Remote File Access Risk
- CVE-2025-60223HIGHWPBot Pro Arbitrary File Deletion Vulnerability – HIGH Risk Exploit