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.
Published: 2026-07-09
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises in Open WebUI, where the function _sanitize_proxy_path decodes a proxy path only eight times. An attacker can craft a path containing nine percent‑encoded '..' fragments that bypass the check, allowing the upstream terminal server to resolve the path and access files outside the intended directory. This results in directory traversal with potential reading of arbitrary local files or execution of commands if the terminal server permits it. The weakness matches CWE-22 and CWE-918.

Affected Systems

The flaw exists in Open WebUI versions 0.9.6 through all releases prior to 0.10.0. Any deployment of the open-webui product running these versions is vulnerable.

Risk and Exploitability

With a CVSS score of 7.7 the flaw is classified as high severity. The EPSS score is less than 1%, indicating a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is via an exposed terminal proxy endpoint; success requires the attacker to access that endpoint and use knowledge of percent‑encoding. Consequently, the risk is moderate to high for exposed deployments, particularly where the terminal server runs with elevated privileges.

Generated by OpenCVE AI on July 29, 2026 at 12:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.10.0 or later to immediately fix the issue
  • If immediately possible, disable the terminal proxy feature or restrict the proxy path to a known safe directory using a whitelist, ensuring that no bypass paths exist within its intended working directory and does not grant unintended file access
  • Apply a firewall or reverse proxy layer to limit exposure of the terminal proxy endpoint to trusted networks only

Generated by OpenCVE AI on July 29, 2026 at 12:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-frvj-c5qp-xj4w open-webui terminal proxy path traversal guard bypass via 9x encoded traversal
History

Thu, 09 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui

Thu, 09 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title open-webui terminal proxy path traversal guard bypass via 9x encoded traversal
Weaknesses CWE-22
CWE-918
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}


Subscriptions

Open-webui Open-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T18:09:19.712Z

Reserved: 2026-07-02T21:05:02.925Z

Link: CVE-2026-59221

cve-icon Vulnrichment

Updated: 2026-07-09T18:09:06.384Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:15:03Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-918

    Server-Side Request Forgery (SSRF)