Description
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.8.8 until 0.11.0, the terminal WebSocket route in backend/open_webui/routers/terminals.py authenticated its own first-message JWT and never applied the verified-user role gate that get_verified_user enforces on HTTP terminal routes. An account whose role is pending, including a registered but unapproved account or an account deactivated back to pending, can open an interactive terminal session when at least one terminal server is configured and its access grants cover the account. This loses the account-approval boundary for terminal access while the HTTP terminal routes correctly reject the same account. This issue is fixed in 0.11.0.
Published: 2026-08-04
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in Open WebUI’s terminal WebSocket endpoint allows an account whose role is pending, such as a registered but unapproved user, to open an interactive terminal session. Because the endpoint fails to enforce the role check applied to HTTP terminal routes, the account‑approval boundary is bypassed. The affected route authenticates the first JWT message but does not gate access by role, resulting in unauthorized terminal access that could enable an attacker to execute arbitrary commands and exfiltrate data.

Affected Systems

Affected versions of Open WebUI range from 0.8.8 through 0.10.x up to the unpatched 0.11.0 release. Administrators running these versions and configuring at least one terminal server with access grants that include pending accounts are at risk. The issue remains in all open-webui:open-webui deployments that have not applied the 0.11.0 fix.

Risk and Exploitability

The CVSS base score of 6.3 indicates a moderate severity, and the vulnerability is not listed in CISA KEV, with no EPSS data available. Exploitation requires an account with a pending status and a configured terminal server; the attacker can independently create such an account or employ social engineering to gain one. Once the conditions are met, the attacker can initiate a WebSocket connection and obtain a terminal session, bypassing the intended approval process. The lack of a known public exploit at this time suggests the risk is contingent on the attackers’ ability to create or obtain pending credentials.

Generated by OpenCVE AI on August 4, 2026 at 22:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to version 0.11.0 or later, where the role check has been restored.
  • Implement role‑based access control on terminal WebSocket connections to deny pending or unapproved accounts.
  • Restrict terminal server access to only approved users or disable terminal servers for pending accounts.
  • Audit and review account roles regularly to ensure that pending or deactivated accounts do not retain terminal privileges.

Generated by OpenCVE AI on August 4, 2026 at 22:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5gpj-vj23-vhhv Open WebUI: Unapproved accounts can open terminal sessions via a WebSocket auth path missing the role check
History

Wed, 05 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 04 Aug 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui

Tue, 04 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Description Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.8.8 until 0.11.0, the terminal WebSocket route in backend/open_webui/routers/terminals.py authenticated its own first-message JWT and never applied the verified-user role gate that get_verified_user enforces on HTTP terminal routes. An account whose role is pending, including a registered but unapproved account or an account deactivated back to pending, can open an interactive terminal session when at least one terminal server is configured and its access grants cover the account. This loses the account-approval boundary for terminal access while the HTTP terminal routes correctly reject the same account. This issue is fixed in 0.11.0.
Title Open WebUI: Unapproved accounts can open terminal sessions via a WebSocket auth path missing the role check
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'}


Subscriptions

Open-webui Open-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-05T18:07:10.733Z

Reserved: 2026-08-04T15:24:41.340Z

Link: CVE-2026-70490

cve-icon Vulnrichment

Updated: 2026-08-05T18:07:05.687Z

cve-icon NVD

Status : Received

Published: 2026-08-04T21:16:37.910

Modified: 2026-08-05T19:17:37.533

Link: CVE-2026-70490

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T22:45:03Z

Weaknesses