Open WebUI: Path traversal / SSRF in terminal server proxy via encoded path traversal (CVE-2026-54017)
An authenticated user with access to a terminal server in open-webui can exploit a path traversal and SSRF vulnerability via crafted encoded path segments. The vulnerability arises because the terminal-server reverse proxy does not fully sanitize user-controlled path inputs before forwarding them, allowing traversal outside intended scopes. A double-encoding technique bypasses the existing sanitization, enabling access to unintended files or internal services. This affects open-webui versions prior to 0.9.6.
AI Analysis
Technical Summary
The terminal-server reverse proxy in open-webui's backend does not adequately sanitize the user-controlled path segment before forwarding requests to the terminal server. Initially, single-encoded traversal sequences allowed escaping the intended path scope, but this was mitigated by a single URL decode and normalization check. However, a double-encoded payload (%252e%252e) bypasses this check because the sanitization decodes only once, allowing the upstream terminal server to decode it again and perform path traversal. This leads to CWE-22 (Path Traversal) and CWE-918 (SSRF) vulnerabilities, enabling authenticated users with terminal server access to reach unauthorized files or internal services. The recommended fix is to iteratively decode the path until stable before normalization and validation, preventing any depth of encoding from bypassing the check.
Potential Impact
An authenticated user with granted access to a terminal server can escape the intended path or policy scope on that server, accessing unintended endpoints and files. Additionally, if the terminal server proxies requests to internal services, this vulnerability enables SSRF-style access to those services. The impact includes unauthorized information disclosure and potential internal service interaction without integrity or availability impact.
Mitigation Recommendations
A fix is available in open-webui version 0.9.6 and later that properly sanitizes the proxy path by decoding it repeatedly until stable before normalization and validation. Users should upgrade to version 0.9.6 or later to remediate this vulnerability. Until upgraded, no reliable workaround exists because the vulnerability exploits double-encoded traversal sequences that bypass current sanitization.
Open WebUI: Path traversal / SSRF in terminal server proxy via encoded path traversal (CVE-2026-54017)
Description
An authenticated user with access to a terminal server in open-webui can exploit a path traversal and SSRF vulnerability via crafted encoded path segments. The vulnerability arises because the terminal-server reverse proxy does not fully sanitize user-controlled path inputs before forwarding them, allowing traversal outside intended scopes. A double-encoding technique bypasses the existing sanitization, enabling access to unintended files or internal services. This affects open-webui versions prior to 0.9.6.
CVSS v3.1
Score 7.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The terminal-server reverse proxy in open-webui's backend does not adequately sanitize the user-controlled path segment before forwarding requests to the terminal server. Initially, single-encoded traversal sequences allowed escaping the intended path scope, but this was mitigated by a single URL decode and normalization check. However, a double-encoded payload (%252e%252e) bypasses this check because the sanitization decodes only once, allowing the upstream terminal server to decode it again and perform path traversal. This leads to CWE-22 (Path Traversal) and CWE-918 (SSRF) vulnerabilities, enabling authenticated users with terminal server access to reach unauthorized files or internal services. The recommended fix is to iteratively decode the path until stable before normalization and validation, preventing any depth of encoding from bypassing the check.
Potential Impact
An authenticated user with granted access to a terminal server can escape the intended path or policy scope on that server, accessing unintended endpoints and files. Additionally, if the terminal server proxies requests to internal services, this vulnerability enables SSRF-style access to those services. The impact includes unauthorized information disclosure and potential internal service interaction without integrity or availability impact.
Mitigation Recommendations
A fix is available in open-webui version 0.9.6 and later that properly sanitizes the proxy path by decoding it repeatedly until stable before normalization and validation. Users should upgrade to version 0.9.6 or later to remediate this vulnerability. Until upgraded, no reliable workaround exists because the vulnerability exploits double-encoded traversal sequences that bypass current sanitization.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-r2wg-2mcr-66rv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-54017"]
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a58b41668715ace43d68586
Added to database: 07/16/2026, 10:36:06 UTC
Last enriched: 07/16/2026, 10:57:48 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.