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 · Vendor: https://github.com/open-webui/open-webui
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with valid user token
  2. Delivery
    Discover restricted model names (enumeration or reconnaissance)
  3. Exploit
    POST to /ollama/api/generate with restricted model name
  4. Execution
    Proxy forwards without AccessGrants check
  5. Persist
    Obtain inference results or resource consumption
  6. Impact
    Repeat with /api/show to extract system prompts and configuration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) Ollama backend configured in Open WebUI, (2) model access control intentionally configured by admin (not disabled via BYPASS_MODEL_ACCESS_CONTROL=true), (3) attacker with any valid authenticated user account (PR:L, not admin-level), (4) knowledge of restricted model names (which follow predictable conventions like llama3:70b, mistral:latest). No special client configuration, user interaction, or non-default setup is needed beyond a standard Open WebUI deployment with Ollama backend and access groups. The vulnerability does NOT affect deployments where BYPASS_MODEL_ACCESS_CONTROL is set to true, where access control is disabled entirely, or where no Ollama backend is configured.

Impact

CVSS 5.4 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L) with low integrity but measurable confidentiality and availability impact warrants moderate priority. The network-accessible and low-complexity attack vector means exploitation requires only an HTTP client and valid credentials; no exploit code complexity or advanced techniques needed. The authentication requirement (PR:L) significantly limits real-world risk compared to an unauthenticated bypass, as attackers need a legitimate user account. However, the presence of source code evidence from the official GitHub advisory (GHSA-rcvp-6fgw-c7fh) and fixed version (0.9.0) confirms this is a genuine, non-theoretical vulnerability affecting deployed systems. Patch availability since 0.9.0 means legacy deployments running ≤0.8.12 remain vulnerable. The attack is trivial to execute once inside the authentication boundary-single API calls with predictable model names-making this a high-priority fix for multi-tenant or group-based Ollama deployments where access control policies are intentionally deployed.

Exploit ScenarioDerived

An authenticated user Alice with access only to llama3:8b model learns that the organization deployed llama3:70b restricted to the ML Engineers group. Alice directly POSTs to /ollama/api/show with model name llama3:70b and her valid authentication token. The endpoint, lacking AccessGrants validation, returns the full model configuration including the system prompt. Alice then calls /ollama/api/generate with the same model name to run inference tasks, consuming GPU resources allocated for ML Engineers. Alice's actions succeed because the proxy forwards all requests without permission checks, despite the /api/chat endpoint in the web UI correctly blocking her access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

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.

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.

Affected VersionsENISA

open-webui < 0.9.0

Affected Packages

pypi open-webui fix: 0.9.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/open-webui/open-webui) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

Primary rating from Vendor (https://github.com/open-webui/open-webui) · only source for this CVE.

CVSS VectorVendor: https://github.com/open-webui/open-webui

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

DescriptionCVE.org

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)

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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-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-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-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

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

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