Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, several direct, index-addressed Ollama proxy routes accept a caller-supplied url_idx path parameter and use it as a raw index into the admin-configured OLLAMA_BASE_URLS list. Access control on these routes validates only whether the user may use the requested model, never which backend the request is routed to. Any authenticated user can append an arbitrary url_idx to force their request onto an Ollama backend they were never authorized to reach, including internal, higher-privilege, or explicitly admin-disabled backends. This vulnerability is fixed in 0.9.6.
Published: 2026-06-23
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to version 0.9.6, the application exposes several direct Ollama proxy routes that accept a caller‑supplied url_idx path parameter. This parameter is used as a raw index into the admin‑configured OLLAMA_BASE_URLS list. Access control on these routes validates only whether the authenticated user may use the requested model, and never which backend the request is routed to. Consequently, any authenticated user can append an arbitrary url_idx to force their request onto an Ollama backend that they were never authorized to reach, including internal, higher‑privilege, or explicitly admin‑disabled backends. The flaw permits unauthorized selection of backend services, potentially exposing sensitive data or enabling further internal exploitation.

Affected Systems

Open WebUI is a self-hosted AI platform designed to operate entirely offline. Versions before 0.9.6 are impacted; the fix is implemented in version 0.9.6. No specific operational environments are listed beyond the general use case of the platform.

Risk and Exploitability

The CVSS score of 6.3 indicates a medium severity. No EPSS data is available, so the likelihood of exploitation cannot be quantified from the advisory alone. The issue is not listed in the CISA KEV catalog. Because the flaw permits any authenticated user to choose an arbitrary backend, the attack vector is internal. An attacker requires only authentication to the application, after which they can redirect traffic to unauthorized backends. While there is no public exploit available at the moment, the vulnerability could be leveraged to access sensitive backend services or facilitate subsequent internal attacks.

Generated by OpenCVE AI on June 24, 2026 at 07:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Open WebUI to or disable unused or internal Ollama backends in the admin configuration or use network isolation to prevent access
  • Monitor user activity for anomalous url_idx usage to detect unauthorized backend selection
  • Configure firewall or reverse proxy rules to restrict which backends can be reached by the Open WebUI server

Generated by OpenCVE AI on June 24, 2026 at 07:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9rpj-v7hf-vv2w Open WebUI: Authenticated users can target arbitrary configured Ollama backends via unguarded url_idx path parameter
History

Tue, 23 Jun 2026 20:15: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, 23 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Description Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, several direct, index-addressed Ollama proxy routes accept a caller-supplied url_idx path parameter and use it as a raw index into the admin-configured OLLAMA_BASE_URLS list. Access control on these routes validates only whether the user may use the requested model, never which backend the request is routed to. Any authenticated user can append an arbitrary url_idx to force their request onto an Ollama backend they were never authorized to reach, including internal, higher-privilege, or explicitly admin-disabled backends. This vulnerability is fixed in 0.9.6.
Title Open WebUI: Authenticated users can target arbitrary configured Ollama backends via unguarded url_idx path parameter
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-06-23T16:39:58.041Z

Reserved: 2026-06-11T16:34:11.637Z

Link: CVE-2026-54021

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T07:30:05Z

Weaknesses