All vulnerabilities

Servers and applications

CVE-2026-59221

open-webui terminal proxy path traversal guard bypass via 9x encoded traversal

Severity
High 7.7
Published
2 Jul 2026
Last changed
10 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.10.0
Exploit chance
0.5% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)Server-side request forgery (CWE-918)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Also known as
GHSA-frvj-c5qp-xj4w
Sources
NVD, Project advisories (GitHub)

Description

AI assistance was used to help inspect the code and prepare this report.

The fix for GHSA-r2wg-2mcr-66rv is incomplete in v0.9.6 and current main. backend/open_webui/routers/terminals.py documents _sanitize_proxy_path() as decoding until stable, but the implementation stops after 8 unquote() passes. A 9x percent-encoded ../... path parameter remains once-encoded after the loop, passes the posixpath.normpath() and cleaned.startswith('..') checks, and is forwarded to the configured terminal server. The upstream server then receives a decoded traversal path such as /base/../admin/system.

A user who has access to an admin-configured terminal connection can bypass the terminal proxy path traversal guard and cause Open WebUI to forward requests with the configured terminal credentials and X-User-Id header to paths outside the intended normalized proxy path.

From open-webui/open-webui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cpe:a:openwebui:open_webui
  • Version 0.9.6
Open WebUIServers and applications · github:open-webui/open-webui
  • From 0.9.6 before 0.10.0

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
355,496PyPI Stats, 15 Nov 2026
Docker Hub pulls
990,663Docker Hub, 15 Nov 2026
GitHub stars
158,684GitHub, 15 Nov 2026
Forks
23,075GitHub, 15 Nov 2026
Latest release
v0.13.3GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
multi-licensingWikidata
First published on GitHub
6 Oct 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-59221
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-59221
  • GitHub Advisory Database https://github.com/advisories/GHSA-frvj-c5qp-xj4w
  • github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-frvj-c5qp-xj4w