SysArt
Book a briefing
SysArt

Private LLMs and RAG

Open WebUI for Enterprises: Licence, Deployment, SSO and Security

Open WebUI explained for enterprises: how it works with Ollama and vLLM, its branding licence, Docker and Kubernetes deployment, SSO, tools, MCP and security.

Last reviewed by SysArt AI Architecture Team10 min readHow we review

In short

Open WebUI is a self-hosted chat interface for Ollama and OpenAI-compatible model servers, with knowledge bases, web search, tools and MCP. Internal use is free if its branding stays intact; rebranding for more than 50 users needs an enterprise licence. Teams should add SSO, PostgreSQL, Redis, restricted tool rights and timely patching.

Key takeaways

  • Open WebUI is a self-hosted chat front end that connects to Ollama and any OpenAI-compatible server, such as vLLM, and adds users, knowledge bases, web search, tools and MCP; as of 19 November 2026 the latest release is v0.13.4.
  • Since v0.6.6 (April 2025) the licence forbids removing or replacing the Open WebUI branding unless a deployment has 50 or fewer end users in a rolling 30-day period, has written permission, or holds an enterprise licence.
  • The defaults suit one server: SQLite, embedded ChromaDB and local files. A multi-replica team deployment needs PostgreSQL, Redis, a shared secret key, a client-server vector database and shared storage.
  • Workspace Tools and Functions run arbitrary Python on the server, so the documentation equates the right to create or import them with shell access; MCP servers run inside the same trust boundary.
  • As of 19 November 2026 the repository lists 166 published security advisories, 159 of them from 2026, so version pinning, timely patching, SSO and network isolation belong in the operating model.
Purple and blue chat speech bubbles on a translucent screen with soft geometric shapes behind it

What is Open WebUI?

Open WebUI is a self-hosted web interface for chatting with large language models (LLMs). It gives a team one place to use local and hosted models, with accounts, permissions, knowledge bases and tools, while the organisation runs the server, the database and the model connections.

The project lives at github.com/open-webui/open-webui. As of 19 November 2026 its latest release is v0.13.4, published on 17 November, and three releases have shipped so far in November. Recent versions go well beyond chat: workspaces for custom models and prompts, notes, channels, scheduled automations, image and video generation, and coding agents that run in sandboxed terminals.

It sits in a crowded category. LibreChat is a self-hosted chat interface under the MIT licence. AnythingLLM, also MIT-licensed, centres on document workspaces; our AnythingLLM enterprise guide compares it with Open WebUI in detail. Desktop apps for one person running models on a laptop solve a different problem from a shared, governed service.

How does Open WebUI work with Ollama, vLLM and an API gateway?

Open WebUI is a front end, not an inference engine. It sends prompts to Ollama or to any server that speaks the OpenAI API, and it exposes its own OpenAI-compatible API to other clients.

  • Ollama. The quick-start Docker command maps host.docker.internal to the host so the container reaches Ollama on the same machine; OLLAMA_BASE_URL points to a remote one. An image tagged ollama bundles both in one container.
  • vLLM and other servers. Any OpenAI-compatible endpoint is added as a connection, with its own key, models and access settings. Engine choice is a separate decision, covered in vLLM vs Ollama vs llama.cpp vs SGLang.
  • The Open WebUI API. /api/chat/completions is an OpenAI-compatible endpoint for every model the instance offers, and an Anthropic-compatible /api/v1/messages route also exists. Clients authenticate with a bearer token. API keys are off by default (ENABLE_API_KEYS=false), and non-admin users also need the API Keys permission.

For a shared service, a common pattern is users → Open WebUI → an AI gateway → inference servers. The gateway then owns routing, quotas and provider keys, and Open WebUI owns the user experience. Our article on the enterprise AI gateway on premises covers that layer. The RBAC documentation advises against giving Open WebUI management or master keys for ordinary user traffic.

What licence does Open WebUI use, and can you rebrand it?

Open WebUI uses its own licence: BSD-3-Clause terms plus a branding clause. Internal use is free if the branding stays intact; replacing it is allowed only in narrow cases.

Clause 4 of the current LICENSE forbids altering, removing, obscuring or replacing any “Open WebUI” branding, including the name and logo, in any deployment or distribution, with three exceptions:

  1. the deployment has no more than 50 end users, meaning people with direct access, in any rolling 30-day period;
  2. the copyright holder has given specific prior written permission; or
  3. the licensee holds an enterprise licence that expressly permits it.

The project’s licence page says code up to v0.6.5 remains under plain BSD-3-Clause, that the clause applies from v0.6.6 (19 April 2025), and that versions from v0.6.6 are not OSI-approved open source. Contributors sign a contributor licence agreement.

What this means for enterprises:

  • Internal rollout with original branding needs no licence, at any number of users.
  • A renamed “company assistant” for more than 50 people needs an enterprise licence or written permission. The licence page’s guidelines also rule out co-branding, such as “Managed by Company X” notices, so read the LICENSE itself and take legal advice before relying on the small-deployment exception.
  • Feature scope. The enterprise page lists Terminals and Tether, the project’s sandboxed-computer and bring-your-own-computer features, as enterprise-exclusive offerings.
  • Integrators that deploy Open WebUI for clients should read the project’s partner guidelines.

How do you deploy Open WebUI with Docker or Kubernetes for a team?

Docker is the officially recommended path, and Helm covers Kubernetes. The defaults suit one server; a team deployment that must survive a node failure needs external state.

The basic command runs ghcr.io/open-webui/open-webui:main, maps port 3000 to 8080, mounts a volume at /app/backend/data and sets WEBUI_SECRET_KEY. Variants include slim, cuda and ollama. A desktop app (AGPL-3.0) installs and runs Open WebUI on one computer, but the documentation recommends Docker or Python for production. Pin a version tag rather than main so upgrades are deliberate.

The scaling guide says the defaults, embedded SQLite, embedded ChromaDB and local uploads, work for one instance only. For several replicas:

  • Database: PostgreSQL through DATABASE_URL, with pool sizes kept below the server’s connection limit across all replicas.
  • Redis: REDIS_URL and WEBSOCKET_MANAGER=redis on every instance.
  • Secret: the same WEBUI_SECRET_KEY everywhere, or users hit login loops.
  • Vector database: a client-server option such as pgvector, Qdrant, Milvus or a separate Chroma server.
  • Files: a shared filesystem or S3-compatible, GCS or Azure object storage.
  • Extraction and embeddings: move them out of the process, for example to Apache Tika and an external embedding service.
  • Migrations: keep one worker per replica and let only one instance run database migrations during upgrades.

How do SSO, LDAP, SCIM and permissions work in Open WebUI?

Open WebUI supports OpenID Connect (OIDC) and OAuth single sign-on, LDAP, trusted headers from an authenticating proxy and SCIM 2.0 provisioning. Roles, groups and access lists then decide who sees which models, knowledge and features.

  • Sign-in. Built-in options cover Microsoft, Google and GitHub, plus one generic OIDC provider at a time. LDAP and trusted-header authentication are alternatives; with trusted headers, only the proxy may reach Open WebUI, because anyone who can set the role header can become an administrator.
  • Role and group mapping. With ENABLE_OAUTH_ROLE_MANAGEMENT and ENABLE_OAUTH_GROUP_MANAGEMENT, roles and groups follow identity-provider claims at each login, and memberships missing from the claims are removed.
  • Provisioning. SCIM 2.0 creates, updates, deactivates and deletes users and manages group membership, so leavers lose access when the identity provider removes them.
  • Roles and approval. There are three roles: admin, user and pending. The first account becomes the administrator, and new accounts default to pending until approved.
  • Permissions. Granular switches cover features such as web search, file upload, workspace tools and API keys. Rights are additive across a user’s groups, and private models and knowledge bases are shared through access lists.
  • Token lifetime. Sign-in tokens last four weeks by default (JWT_EXPIRES_IN); set a shorter value to match your session policy.

Use the identity provider for multi-factor authentication and conditional access, and switch off local password login once SSO works.

Are Open WebUI Tools, Functions and MCP servers safe?

They are as safe as the code and servers you allow. Workspace Tools and Functions execute arbitrary Python on the Open WebUI server, and an MCP server runs with the connecting user’s full scope.

  • Tools give models callable actions. The documentation says that granting a user the right to create or import Tools is equivalent to giving them shell access to the server, and that untrusted users should not reach the Workspace Tools section.
  • Functions (pipes, filters, actions and events) change how the platform behaves. Only administrators can create them, and the documentation warns that a malicious Function could access the file system.
  • Pipelines, the older separate plugin server, is deprecated. Its repository is archived, will receive no security fixes and tells users to move to Functions.
  • OpenAPI tool servers run as separate services that Open WebUI calls over HTTP, which keeps their code off the Open WebUI host.
  • MCP. Since v0.6.31, Open WebUI connects natively to Model Context Protocol servers over Streamable HTTP; stdio servers need the mcpo proxy or Tether. Only administrators add MCP servers to an instance, and they can scope each server to users or groups. Authentication options include bearer keys, the user’s session token and OAuth 2.1.

In practice, treat every Tool, Function and MCP server as third-party code: review it, record an owner, pin it and keep import rights with a small admin group. Our guide to MCP security covers server vetting.

What data leaves the network when web search, knowledge or telemetry are on?

Prompts go to the model endpoints you configure, search queries go to the search provider you choose, and update checks go to GitHub. With local models and web search off, chat content can stay inside your network.

FeatureDefaultWhat leaves the network when it is used
Model connectionsNone until configuredPrompts, files and retrieved context sent to each endpoint
Web search (ENABLE_WEB_SEARCH)OffQueries to the search provider; the server then fetches result pages
Knowledge basesLocal embeddings and embedded ChromaDBDocument text, if you choose an external embedding or extraction service
Update check (ENABLE_VERSION_UPDATE_CHECK)On for release buildsA version check to GitHub; OFFLINE_MODE also stops automatic model downloads
Usage telemetryOff in the official imageThe Dockerfile sets SCARF_NO_ANALYTICS, DO_NOT_TRACK and disables ChromaDB telemetry
Community sharing (ENABLE_COMMUNITY_SHARING)OnContent a user chooses to share with the Open WebUI community

Administrators can require users to confirm each web search, and the web loader cannot fetch private network addresses unless ENABLE_RAG_LOCAL_WEB_FETCH is turned on, a setting the hardening guide flags as a server-side request forgery risk. For an isolated design, see air-gapped AI. Knowledge bases are a retrieval-augmented generation (RAG) system with its own permission questions, covered in RAG security.

How secure is Open WebUI, and how do you harden it?

Open WebUI publishes and fixes a large number of vulnerabilities, so patching speed matters. As of 19 November 2026 the repository lists 166 published security advisories: one critical, 71 high, 87 medium and 7 low, with 159 published in 2026.

The critical one, CVE-2026-44551, let an attacker sign in through LDAP with an empty password and was fixed in v0.9.0. A high-severity advisory (GHSA-vpq8-f445-hcq7) allowed any website to steal a signed-in user’s session token and was fixed in v0.11.4. Many 2026 advisories concern server-side request forgery, cross-site scripting that leads to session theft, and gaps in access checks for shared folders, knowledge bases and terminals.

The project’s hardening and privacy guidance points to a baseline:

  • Place the instance behind a VPN, a zero-trust access proxy or an authenticating reverse proxy, and restrict CORS_ALLOW_ORIGIN, which defaults to any origin.
  • Use SSO, keep DEFAULT_USER_ROLE=pending and turn off community sharing.
  • Keep Tools, Functions, file upload and knowledge permissions with approved groups.
  • Set audit logging to METADATA (the default is NONE), in JSON, and send it to your log platform. Log request bodies only if that platform is approved for chat content.
  • Encrypt PostgreSQL, volumes and backups, and subscribe to the repository’s advisories so patches go through change control promptly.

The documentation is candid about admins. Settings such as ENABLE_ADMIN_CHAT_ACCESS=false hide other users’ chats in the interface, but it says to treat every admin as able to read every chat, for example by installing a Function. Sensitive departments may need a separate instance with separate operators.

What do GDPR and the EU AI Act mean for an Open WebUI deployment?

Self-hosting makes your organisation the controller of the chats, files and logs that Open WebUI stores. It does not settle compliance by itself. This section is general information, not legal advice.

Under the General Data Protection Regulation (GDPR), the controller needs a lawful basis, a defined purpose and a retention period, and must tell staff how long chats are kept. Decide how long saved chats, files and logs are kept and how they are deleted. Temporary Chat, which can be enforced for all users, stops chats from being saved, though tools can still store data of their own. A data protection impact assessment may be needed depending on the use, and external model or search providers can become processors or recipients. Our guide to GDPR-compliant LLM deployment sets out these steps.

Under the EU AI Act (Regulation (EU) 2024/1689, as amended by the Digital Omnibus on AI), an organisation that runs Open WebUI for its staff is usually a deployer. Article 4 requires providers and deployers to take measures to support the AI literacy of people who use AI systems on their behalf; it has applied since 2 February 2025, with enforcement by national authorities from 2 August 2026. A general-purpose chat assistant is not high-risk in itself, but specific uses can be: Annex III high-risk obligations apply from 2 December 2027. Assess each use case and your role in it.

How SysArt helps

SysArt designs, deploys and operates private chat and retrieval platforms, including Open WebUI, on the client’s infrastructure or in a dedicated EU-hosted environment: identity integration, model and gateway design, tool and MCP governance, logging, retention and patching. Our private LLM deployment service sets out how we work.

Featured image by kuu akura on Unsplash.

Frequently asked questions

What is Open WebUI?

Open WebUI is a self-hosted web interface for chatting with large language models. It connects to Ollama and to any OpenAI-compatible API, including vLLM and hosted providers, and adds user accounts, roles, groups, knowledge bases for retrieval, web search, tools, MCP servers and an API of its own. It runs in Docker, on Kubernetes with Helm, as a Python package or through a desktop app.

Is Open WebUI free for commercial use?

Internal commercial use is free as long as all Open WebUI branding stays intact, according to the project's licence page. Since v0.6.6, released in April 2025, the licence forbids altering or removing the branding unless the deployment has 50 or fewer end users in a rolling 30-day period, the copyright holder gave written permission, or you hold an enterprise licence. The project says versions from v0.6.6 are not OSI-approved open source.

How do I use Open WebUI with Ollama?

Run Ollama on the host and start the Open WebUI container with host.docker.internal mapped to the host gateway, or set OLLAMA_BASE_URL to a remote Ollama server. The documentation also offers an image tagged ollama that bundles both in one container. For shared team use, many organisations put a production inference server and a gateway behind Open WebUI instead of a single Ollama instance.

Does Open WebUI support MCP?

Yes. Since v0.6.31, Open WebUI connects natively to MCP servers that expose a Streamable HTTP endpoint. Local stdio and SSE servers need the mcpo proxy, or Tether on a user's own computer. Only administrators can add MCP servers to an instance and scope them to users or groups. The documentation warns that a malicious server could execute code and read or exfiltrate the connecting user's data.

Does Open WebUI send data outside my network?

Not by default to the project itself: the official Docker image turns off Scarf and ChromaDB telemetry. It does check GitHub for updates unless you set OFFLINE_MODE, and it sends prompts to whichever model endpoints you configure. Web search, when enabled, sends queries to the chosen search provider and fetches result pages. External embedding, image or tool providers also receive the data they process.

Can Open WebUI use single sign-on?

Yes. Open WebUI supports Microsoft, Google and GitHub sign-in, one generic OpenID Connect provider, LDAP and trusted-header authentication behind a proxy. It can map roles and groups from identity-provider claims at each login, and SCIM 2.0 provisions and deprovisions users and groups. New accounts default to a pending role that an administrator must approve, and the first account becomes the administrator.

What is the difference between Open WebUI and LibreChat?

Both are self-hosted chat interfaces for many model providers. The clearest difference for buyers is licensing: LibreChat is published under the MIT licence, while Open WebUI's licence adds a branding clause that limits rebranding above 50 end users without an enterprise licence. Compare authentication, permission models, retrieval, tool support and the security record against your own requirements rather than feature lists.

Related insights

Plan your private AI with people who build it

Book a briefing. We look at your use case, data and constraints, and you leave with the deployment options and governance steps that fit.