/

CVE-2026-109572

Severity:

HIGH RISK

(7.6)

Missing Authorization (CWE-862) in Open WebUI Terminal

CVE-2026-109572

Awaiting Analysis

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Privilege Escalation and Unauthorized Terminal Administration

Severity:

HIGH RISK

(7.6)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Open WebUI contains a privilege escalation vulnerability in its terminal proxy that can let an authenticated user access administrator terminal APIs with a shared key attached. Under affected configurations, attackers may control other users' terminals, change terminal policies, or inject environment variables through crafted proxy requests.

Open WebUI contains a privilege escalation vulnerability in its terminal proxy that can let an authenticated user access administrator terminal APIs with a shared key attached. Under affected configurations, attackers may control other users' terminals, change terminal policies, or inject environment variables through crafted proxy requests.

Affected context

The issue occurs in Open WebUI deployments using the vulnerable terminal proxy implementation. Authenticated users may be able to submit requests through the terminal proxy endpoint and reach administrative terminal operations because authorization is not adequately enforced between the requesting user, the target terminal, and the administrator API. The affected release range is Open WebUI 0.8.6 through versions before 0.11.4.

The issue occurs in Open WebUI deployments using the vulnerable terminal proxy implementation. Authenticated users may be able to submit requests through the terminal proxy endpoint and reach administrative terminal operations because authorization is not adequately enforced between the requesting user, the target terminal, and the administrator API. The affected release range is Open WebUI 0.8.6 through versions before 0.11.4.

Exploit preconditions

  • Attack surface: The terminal proxy endpoint at /api/v1/terminals/{server_id}/{path}
  • Required access: A valid authenticated Open WebUI user account
  • Trigger point: A request routed through the terminal proxy to terminal administration functionality
  • Why exploitation is possible: The proxy attaches a shared administrator key without sufficiently verifying whether the authenticated user is authorized to act on the selected terminal or administrative operation
  • Attack surface: The terminal proxy endpoint at /api/v1/terminals/{server_id}/{path}
  • Required access: A valid authenticated Open WebUI user account
  • Trigger point: A request routed through the terminal proxy to terminal administration functionality
  • Why exploitation is possible: The proxy attaches a shared administrator key without sufficiently verifying whether the authenticated user is authorized to act on the selected terminal or administrative operation

Why this happens

The vulnerability results from missing authorization checks at a proxy boundary. A request accepted from an authenticated user is forwarded with elevated credentials, while authorization is not consistently evaluated against the target terminal, operation, and owning user. This behavior maps to CWE-862: Missing Authorization, in which an application fails to enforce an access control decision before permitting a protected action.

The vulnerability results from missing authorization checks at a proxy boundary. A request accepted from an authenticated user is forwarded with elevated credentials, while authorization is not consistently evaluated against the target terminal, operation, and owning user. This behavior maps to CWE-862: Missing Authorization, in which an application fails to enforce an access control decision before permitting a protected action.

Potential impact

  • An attacker may list terminals belonging to other users.
  • An attacker could stop or otherwise disrupt other users' terminals.
  • An attacker may modify terminal policies outside their authorized scope.
  • Injected environment variables could alter the behavior of other users' terminal sessions.
  • The vulnerability could support unauthorized access to terminal-associated data or workflows.
  • An attacker may list terminals belonging to other users.
  • An attacker could stop or otherwise disrupt other users' terminals.
  • An attacker may modify terminal policies outside their authorized scope.
  • Injected environment variables could alter the behavior of other users' terminal sessions.
  • The vulnerability could support unauthorized access to terminal-associated data or workflows.

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every terminal proxy operation and preventing shared administrative credentials from bypassing user-level access controls.

Common defensive patterns include:

  • Validate the authenticated user's ownership or delegated permissions for every target terminal and action.
  • Apply deny-by-default authorization checks before proxying requests.
  • Avoid exposing administrator API credentials to general user request paths.
  • Use narrowly scoped, short-lived service credentials when proxying is necessary.
  • Enforce tenant and user isolation for terminal resources, policies, and environment data.
  • Record and review administrative terminal actions, including the requesting identity and target resource.
  • Run terminal services with the minimum permissions required for their intended functions.

Mitigation generally focuses on enforcing authorization at every terminal proxy operation and preventing shared administrative credentials from bypassing user-level access controls.

Common defensive patterns include:

  • Validate the authenticated user's ownership or delegated permissions for every target terminal and action.
  • Apply deny-by-default authorization checks before proxying requests.
  • Avoid exposing administrator API credentials to general user request paths.
  • Use narrowly scoped, short-lived service credentials when proxying is necessary.
  • Enforce tenant and user isolation for terminal resources, policies, and environment data.
  • Record and review administrative terminal actions, including the requesting identity and target resource.
  • Run terminal services with the minimum permissions required for their intended functions.

How teams detect issues like this

Organizations can look for this vulnerability class through:

  • Static analysis and code review checks for proxy handlers that forward privileged credentials.
  • Review of authorization decisions at every route, resource, and operation boundary.
  • Tests confirming that users cannot access, stop, or modify terminals owned by other users.
  • API gateway or policy rules restricting terminal administration routes to explicitly authorized identities.
  • Audit-log analysis for cross-user terminal access, unexpected policy changes, and unusual environment-variable modifications.
  • Automated security review tools that flag shared-key use, missing object-level authorization, and inconsistent access-control enforcement.

Organizations can look for this vulnerability class through:

  • Static analysis and code review checks for proxy handlers that forward privileged credentials.
  • Review of authorization decisions at every route, resource, and operation boundary.
  • Tests confirming that users cannot access, stop, or modify terminals owned by other users.
  • API gateway or policy rules restricting terminal administration routes to explicitly authorized identities.
  • Audit-log analysis for cross-user terminal access, unexpected policy changes, and unusual environment-variable modifications.
  • Automated security review tools that flag shared-key use, missing object-level authorization, and inconsistent access-control enforcement.

Sources

SourceLink
github.comgithub.com/open-webui/open-webui/commit/51bb8cb142f72503e861eeee25ae4dc73c26c36b
github.comgithub.com/open-webui/open-webui/security/advisories/GHSA-q46m-r89w-j74p
vulncheck.comvulncheck.com/advisories/open-webui-0.8.6-before-0.11.4-privilege-escalation-via-terminal-proxy

Frequently asked

questions

It may be exploitable over the network by any authenticated user who can reach the affected Open WebUI terminal proxy endpoint, subject to deployment exposure and access controls.

No. The described condition requires an authenticated account, while the terminal proxy may attach shared administrative credentials on the user's behalf.

Enforce object-level and operation-level authorization before forwarding each request, and prevent ordinary user-controlled requests from inheriting unrestricted administrator credentials.

Use deny-by-default access policies, maintain strict ownership checks for terminal resources, test cross-user isolation, and monitor privileged proxy activity.

It may be exploitable over the network by any authenticated user who can reach the affected Open WebUI terminal proxy endpoint, subject to deployment exposure and access controls.

No. The described condition requires an authenticated account, while the terminal proxy may attach shared administrative credentials on the user's behalf.

Enforce object-level and operation-level authorization before forwarding each request, and prevent ordinary user-controlled requests from inheriting unrestricted administrator credentials.

Use deny-by-default access policies, maintain strict ownership checks for terminal resources, test cross-user isolation, and monitor privileged proxy activity.

Find out what's already
exploitable in your codebase.