Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Open WebUI (low-priv account)
-
DeliveryCraft nine-times percent-encoded ../ path
-
ExploitSend to terminal proxy endpoint
-
ExecutionBypass eight-pass sanitizer check
-
PersistUpstream server decodes and resolves traversal
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Open Webui
View allAn XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the
A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui
Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver
Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter
In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u
OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re
DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS
Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s
In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]
Stored XSS in Open WebUI prior to version 0.7.0 allows authenticated users to inject malicious HTML payloads into chat d
Improper privilege management in Open WebUI 0.10.0 through 0.11.0 allows any authenticated low-privilege user with write
EUVD-2026-42650
GHSA-frvj-c5qp-xj4w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB