Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 59%

Open WebUI: Path traversal / SSRF in terminal server proxy via encoded path traversal (CVE-2026-54017)

0
High
Published: 06/17/2026 (06/17/2026, 17:55:28 UTC)
Source: GCVE Database
Product: open-webui

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Affected software

PyPIghsa
open-webui
Affected versions
<0.9.6

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

AILast updated: 07/16/2026, 10:57:48 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses