Skip to main content

Open WebUI CVE-2026-59221

| EUVDEUVD-2026-42650 HIGH
Path Traversal (CWE-22)
2026-07-09 security-advisories@github.com GHSA-frvj-c5qp-xj4w
7.7
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Open WebUI (low-priv account)
  2. Delivery
    Craft nine-times percent-encoded ../ path
  3. Exploit
    Send to terminal proxy endpoint
  4. Execution
    Bypass eight-pass sanitizer check
  5. Persist
    Upstream server decodes and resolves traversal
  6. Impact
    Read files outside intended directory

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated Open WebUI account (CVSS PR:L) and a deployment where the terminal proxy feature in backend/open_webui/routers/terminals.py is reachable - the attacker submits a ../ traversal value percent-encoded nine times (or more) so it survives the sanitizer's fixed eight decode passes and is finally decoded by the upstream terminal server. Limiting factors: the attacker must first obtain valid credentials, the target must run an affected version (0.9.6 through pre-0.10.0) with the terminal/proxy functionality enabled and network-reachable, and impact is confined to confidentiality (no integrity or availability effect). No user interaction is required and the vector is network-based, so any authenticated user able to reach the terminal endpoint can attempt it.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N describes a network-reachable, low-complexity attack that requires low privileges (PR:L, i.e. an authenticated user account), needs no user interaction, and produces a scope change with high confidentiality impact but no integrity or availability impact - consistent with reading data outside the intended path via the proxied terminal server. Real-world risk is tempered by the authentication requirement: an attacker must first hold a valid Open WebUI account, so this is primarily a post-authentication information-disclosure/lateral-access issue rather than a pre-auth breach. No EPSS score, SSVC decision, KEV entry, or public POC was provided in the input, so exploitation probability cannot be quantified; however, the fix is a straightforward decode-loop bug that a motivated attacker could reproduce from the public commit and PR. Overall this is a genuine issue worth prompt patching for internet-exposed or multi-tenant Open WebUI deployments, but it is not a drop-everything pre-auth remote code execution.

Exploit ScenarioDerived

An authenticated Open WebUI user, or an attacker with stolen low-privilege credentials, crafts a request to the terminal proxy containing a ../ sequence percent-encoded nine times. Open WebUI's _sanitize_proxy_path decodes it only eight times, so the still-encoded payload passes the traversal check and is forwarded to the upstream terminal server, which decodes it fully and resolves the path outside the intended directory, disclosing files or resources it should not. No public POC was identified at time of analysis, but the low attack complexity (AC:L) makes reproduction from the public commit straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 09, 2026

Path traversal in Open WebUI's terminal proxy (versions 0.9.6 through 0.9.x, fixed in 0.10.0) lets an authenticated attacker reach files and resources outside the intended proxy scope. The _sanitize_proxy_path routine in backend/open_webui/routers/terminals.py decoded incoming proxy paths exactly eight times, so a nine-times percent-encoded ../ sequence survived normalization and was decoded a final time by the upstream terminal server, defeating the traversal check. No public exploit or CISA KEV listing exists at time of analysis, but the scope-changing CVSS 3.1 score of 7.7 (S:C/C:H) signals meaningful confidentiality impact on the backend terminal component.

RemediationAI

Vendor-released patch: 0.10.0 - upgrade Open WebUI to v0.10.0 or later, which replaces the flawed eight-pass decode with correct normalization (fix commit https://github.com/open-webui/open-webui/commit/05098d25a58d03738e01c4e85e8852c3b4ad849c, PR https://github.com/open-webui/open-webui/pull/26050, advisory https://github.com/open-webui/open-webui/security/advisories/GHSA-frvj-c5qp-xj4w). If immediate upgrade is not possible, reduce exposure by disabling or not exposing the terminal proxy feature so the vulnerable /terminals route cannot be reached, and restrict network access to both the terminal server and the Open WebUI backend to trusted hosts only; the trade-off is that disabling the terminal feature removes in-app terminal functionality for users. Additionally, tighten account provisioning and remove untrusted accounts, since exploitation requires an authenticated session (PR:L).

Affected VersionsENISA

open-webui 0.9.6, < 0.10.0

Affected Packages

pypi open-webui fix: 0.10.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Open WebUI is a self-hosted, extensible web front-end for interacting with local and remote large language models. The affected code path is backend/open_webui/routers/terminals.py, which proxies requests to an upstream terminal server; _sanitize_proxy_path is meant to canonicalize and reject directory-traversal input before forwarding. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the sanitizer performs a fixed, finite number of percent-decode passes (eight), while an attacker can layer encoding deeper (nine or more). Because the upstream terminal server performs its own additional decode, a ../ payload encoded nine times passes Open WebUI's checks in still-encoded form and is only fully resolved downstream, escaping the intended directory boundary. The correct fix is to decode fully to a fixed point (or reject any remaining encoded sequences) before validation, which v0.10.0 implements.

Know when Open Webui gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.7 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 7.7 HIGH

Network-reachable proxy needs a valid account (PR:L) and no interaction; the encoding bypass is low-complexity (AC:L); traversal crosses into the upstream terminal server (S:C), disclosing files (C:H) with no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jul 09, 2026 - 19:01 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Open WebUI versions 0.9.6 through 0.9.x contain a path traversal vulnerability in the terminal proxy component that allows authenticated users to bypass file access controls and retrieve sensitive backend data. The vulnerability results from insufficient path sanitization that fails to prevent encoded traversal sequences. Organizations using affected versions face elevated risk of confidential data exposure through a typically-trusted administrative interface.

Business Impact: High
Compensating Controls

Apply vendor patch version 0.10.0. Interim: Restrict terminal proxy access to essential administrative users only and enable comprehensive logging of all terminal proxy operations to detect exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Medium
popular self-hosted LLM front-end, common but not enterprise-ubiquitous
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2024-8017 CRITICAL POC
9.0 Mar 20

An XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the

CVE-2024-7044 HIGH POC
8.9 Mar 20

A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui

CVE-2024-6707 HIGH POC
8.8 Aug 07

Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver

CVE-2026-87995 HIGH POC
8.7 Sep 09

Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter

CVE-2024-8053 HIGH POC
8.2 Mar 20

In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u

CVE-2026-87016 HIGH POC
8.1 Sep 09

OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re

CVE-2026-87996 HIGH POC
7.7 Sep 09

DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS

CVE-2026-87011 HIGH POC
7.5 Sep 09

Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s

CVE-2024-7983 HIGH POC
7.5 Mar 20

In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig

CVE-2026-26193 HIGH POC
7.3 Feb 19

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]

CVE-2026-26192 HIGH POC
7.3 Feb 19

Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d

CVE-2026-87998 HIGH POC
7.1 Sep 09

Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy