CVE-2026-70490

Open WebUI: Unapproved accounts can open terminal sessions via a WebSocket auth path missing the role check

Published Aug 4, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Openwebui
Openwebui open Webui
CPEs cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*
Vendors & Products Openwebui
Openwebui open Webui
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Open-webui
Open-webui open-webui
Vendors & Products Open-webui
Open-webui open-webui
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 5, 2026, 6:07 PM
Reserved
Aug 4, 2026, 3:24 PM
Status
Analyzed
Published
Aug 4, 2026, 9:16 PM
Modified
Sep 18, 2026, 2:47 PM