Skip to main content

Open WebUI CVE-2026-44563

| EUVDEUVD-2026-30614 MEDIUM
Missing Authorization (CWE-862)
2026-05-08 https://github.com/open-webui/open-webui GHSA-rcvp-6fgw-c7fh
5.4
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

Lifecycle Timeline

3
Source Code Evidence Fetched
May 08, 2026 - 20:35 vuln.today
Analysis Generated
May 08, 2026 - 20:35 vuln.today
CVE Published
May 08, 2026 - 19:52 nvd
MEDIUM 5.4

DescriptionGitHub Advisory

Ollama Model Access Control Bypass via /api/generate, /api/embed, /api/embeddings, and /api/show

Affected Component

Ollama proxy endpoints missing model access control:

  • backend/open_webui/routers/ollama.py (lines 955-995, generate_completion)
  • backend/open_webui/routers/ollama.py (lines 835-881, embed)
  • backend/open_webui/routers/ollama.py (lines 891-937, embeddings)
  • backend/open_webui/routers/ollama.py (lines 791-820, show_model_info)

Affected Versions

Current main branch (commit 6fdd19bf1) and likely all versions with Ollama model access control support.

Description

Four Ollama proxy endpoints accept any model name from the user and forward the request to the Ollama backend without checking whether the user is authorized to access that model. These endpoints only require get_verified_user (any authenticated non-pending user) and validate that the model exists in the full unfiltered model list, but never check AccessGrants.has_access().

This is in direct contrast with the /ollama/api/chat endpoint (line 1101-1122) which correctly validates model access grants and returns 403 for unauthorized users:

python
# /api/chat (line 1101-1122) - CORRECTLY checks access
if not bypass_filter and user.role == 'user':
    user_group_ids = {group.id for group in Groups.get_groups_by_member_id(user.id)}
    if not (
        user.id == model_info.user_id
        or AccessGrants.has_access(
            user_id=user.id, resource_type='model',
            resource_id=model_info.id, permission='read',
            user_group_ids=user_group_ids,
        )
    ):
        raise HTTPException(status_code=403, detail='Model not found')
# /api/generate (line 955-995) - NO access check at all
# /api/embed (line 835-881) - NO access check at all
# /api/embeddings (line 891-937) - NO access check at all
# /api/show (line 791-820) - NO access check at all

CVSS 3.1 Breakdown

MetricValueRationale
Attack VectorNetwork (N)Exploited remotely via API calls
Attack ComplexityLow (L)Single API call with a known model name
Privileges RequiredLow (L)Requires any authenticated user account
User InteractionNone (N)No victim interaction required
ScopeUnchanged (U)Impact within the Ollama model access boundary
ConfidentialityLow (L)/api/show exposes restricted model details including system prompts and parameters
IntegrityNone (N)No data modification
AvailabilityLow (L)Unauthorized consumption of GPU/compute resources on restricted models

Attack Scenario

  1. Admin configures model access control, restricting llama3:70b to the "ML Engineers" group. Regular user Alice is only authorized for llama3:8b.
  2. Alice knows the restricted model name (model names are predictable - llama3:70b, mistral:latest, etc.).
  3. Alice calls the unprotected endpoints directly:
bash
# Run completions on restricted model
   curl -X POST /ollama/api/generate \
     -H "Authorization: Bearer <alice_token>" \
     -d '{"model": "llama3:70b", "prompt": "..."}'
# View restricted model details and system prompt
   curl -X POST /ollama/api/show \
     -H "Authorization: Bearer <alice_token>" \
     -d '{"model": "llama3:70b"}'
# Generate embeddings with restricted model
   curl -X POST /ollama/api/embed \
     -H "Authorization: Bearer <alice_token>" \
     -d '{"model": "llama3:70b", "input": "..."}'
  1. All requests succeed and are proxied to Ollama without any access control check.

Impact

  • Model access control is silently ineffective for four out of five Ollama proxy endpoints
  • Unauthorized users can consume GPU/compute resources on restricted models (cost and capacity impact in multi-user deployments)
  • /api/show exposes restricted model configurations including system prompts, parameters, templates, and license information
  • Admins have a false sense of security - access restrictions appear to work via the main chat interface but are trivially bypassed via direct API calls

Preconditions

  • Ollama must be configured as a backend
  • Admin must have configured model access control (not using BYPASS_MODEL_ACCESS_CONTROL=true)
  • Attacker must know the restricted model name (model names follow predictable conventions)

AnalysisAI

Open WebUI Ollama proxy endpoints bypass model access control checks, allowing authenticated users to access restricted models and expose sensitive configuration. Four endpoints (/api/generate, /api/embed, /api/embeddings, /api/show) fail to validate AccessGrants permissions before forwarding requests to the Ollama backend, despite the /api/chat endpoint implementing proper authorization checks. Attackers with any valid user account can consume GPU resources on restricted models and view sensitive details like system prompts by directly calling unprotected endpoints with known model names.

Technical ContextAI

Open WebUI provides a Python FastAPI-based proxy layer (backend/open_webui/routers/ollama.py) for Ollama model access. The framework implements role-based access control via the AccessGrants.has_access() function, which checks whether a user_id has 'read' permission for a specific model resource. While the /api/chat endpoint correctly invokes this check at lines 1101-1122, four sibling endpoints skip this validation entirely. All four vulnerable endpoints accept a model name parameter from the client and forward it to Ollama without authorization verification. The CWE-862 (Missing Authorization) classification reflects the absence of explicit access control enforcement in the proxy layer, creating a privilege escalation path where low-privilege users (PR:L) can interact with resources intended for higher-privilege groups.

RemediationAI

Upgrade Open WebUI to version 0.9.0 or later, which includes the necessary AccessGrants.has_access() validation in all four vulnerable endpoints. This is the primary and only vendor-supplied fix. For deployments unable to upgrade immediately, implement network-level access controls by restricting direct calls to /ollama/api/generate, /ollama/api/embed, /ollama/api/embeddings, and /ollama/api/show endpoints to only the trusted frontend application, blocking direct API consumer access. Configure your reverse proxy (nginx, Apache) or API gateway to deny POST requests to these paths from untrusted networks and log bypass attempts. Note: Network restrictions provide only partial protection since internal microservices may legitimately need these endpoints; a database-level audit log for model access should be enabled to detect unauthorized API calls. See https://github.com/open-webui/open-webui/security/advisories/GHSA-rcvp-6fgw-c7fh for the patched code and confirmation of fix.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2026-55255 HIGH POC
8.4 Jun 19

Cross-user flow execution in Langflow (< 1.9.1) lets any authenticated API-key holder run another user's flow by passing

Share

CVE-2026-44563 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy