Skip to main content

Open WebUI CVE-2026-44555

| EUVDEUVD-2026-30623 HIGH
Missing Authorization (CWE-862)
2026-05-08 https://github.com/open-webui/open-webui GHSA-9vvh-qmjx-p4q8
7.6
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. Recon
    Authenticate to Open WebUI
  2. Delivery
    Enumerate restricted model IDs
  3. Exploit
    Create wrapper model with base_model_id set to target
  4. Install
    Query wrapper model via chat API
  5. C2
    Server resolves base_model_id without authorization check
  6. Execute
    Upstream request dispatched with admin API key
  7. Impact
    Attacker receives restricted model output

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

Attack requires authenticated access to an Open WebUI instance with a user account possessing the default workspace.models permission (granted to all users by default in affected versions). The target instance must have at least one restricted base model configured with admin-imposed access controls (e.g., group-based access grants limiting usage to specific teams). The attacker must know or discover the model ID of the restricted base model - this is typically visible in the UI model selector or instance configuration, even if access is denied. No special network position, privilege escalation, or user interaction is required beyond standard authenticated API access. The vulnerability is exploitable against default configurations of Open WebUI ≤0.8.12 in multi-tenant or access-controlled deployments. Single-user instances or deployments with no model access restrictions have no exploitable attack surface since all models are already accessible.

Impact

This is a high-priority authorization bypass for Open WebUI deployments using tiered model access controls and pay-per-token backends. CVSS 7.6 (High) accurately reflects the technical severity - network-accessible with low attack complexity once authenticated (PR:L). The real-world risk depends heavily on deployment context: organizations using Open WebUI to gate access to expensive or sensitive models (GPT-4, Claude 3 Opus, internal fine-tuned models) face immediate cost escalation and policy violation risks. No EPSS score or CISA KEV listing is provided, and no public exploit code is confirmed at time of analysis, suggesting limited widespread exploitation. However, the attack is trivial to execute for any authenticated user with default permissions, and the GitHub advisory provides full technical details including code paths and reproduction steps. SSVC factors: exploitation is not yet confirmed, attack is highly automatable (single API call), and technical impact is partial (authorization bypass but requires valid credentials). Priority is HIGH for multi-tenant Open WebUI instances with model access tiers; MEDIUM for single-user or fully open-access deployments where no model restrictions exist. Key missing data: no confirmation of exploitation attempts in the wild, no EPSS probability score to gauge real-world targeting.

Exploit ScenarioDerived

A developer with standard Open WebUI user account targets a GPT-4 Turbo model restricted to the ML Engineering team. The attacker authenticates and sends POST /api/v1/models/create with id: attacker-gpt4-proxy and base_model_id: gpt-4-turbo-restricted. The server accepts the model creation without validating access to the base model. The attacker then sends POST /api/chat/completions with model: attacker-gpt4-proxy and a prompt. Open WebUI's pipeline checks access only to the wrapper model (which the attacker owns), resolves the base_model_id, and dispatches the request to OpenAI using the admin's API key. The attacker receives GPT-4 Turbo responses while consuming the organization's API credits, bypassing both the access grant policy and cost controls. The attack leaves minimal forensic traces since the wrapper model appears legitimate in user model listings.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

Authenticated users can bypass model access controls in Open WebUI ≤0.8.12 to invoke restricted AI models via chained base_model_id references. Any user with default model creation permissions can create a wrapper model referencing a restricted base model (e.g., gpt-4-turbo with admin-only access), then query it to consume the admin's API credits and access premium model capabilities. This vulnerability enables cost escalation on pay-per-token backends (OpenAI, Anthropic, Azure) and defeats tiered access policies. GitHub advisory confirmed; patched in version 0.9.0. No active exploitation confirmed per available intelligence, but the attack path is straightforward for authenticated users with standard permissions.

RemediationAI

Upgrade Open WebUI to version 0.9.0 or later immediately. The patch is available via PyPI (pip install --upgrade open-webui) and documented in the GitHub advisory at https://github.com/open-webui/open-webui/security/advisories/GHSA-9vvh-qmjx-p4q8 and https://github.com/advisories/GHSA-9vvh-qmjx-p4q8. If immediate upgrade is not feasible, implement compensating controls: (1) Revoke the default workspace.models permission from untrusted users to prevent model creation/import - note this breaks legitimate user model customization workflows. (2) Audit existing user-created models for unauthorized base_model_id references via database inspection (check models table for base_model_id fields pointing to restricted models) and delete violating entries. (3) Monitor API usage logs for unexpected traffic to restricted model endpoints originating from wrapper model IDs. (4) Consider disabling base_model_id chaining entirely if the feature is not operationally required - this requires code modification and testing. All compensating controls reduce functionality; version 0.9.0 is the only complete 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 is a self-hosted web interface for large language models (Python-based, distributed via PyPI as pkg:pip/open-webui). The model chaining feature allows administrators to compose user-facing models that reference underlying base models (via base_model_id) to provide actual inference. The vulnerability stems from CWE-862 (Missing Authorization) in the access control pipeline: check_model_access in utils/models.py validates only the user-facing model ownership, not the chained base model. When a user sends a chat completion request to their wrapper model, main.py:1696-1711 resolves base_model_id and rewrites the payload to target the base model without re-checking permissions. The rewritten request is then dispatched to upstream providers (openai.py, ollama.py) using the admin-configured API key. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L indicates network-exploitable with low complexity once authenticated, causing high confidentiality impact (access to restricted model outputs), low integrity impact (unauthorized model usage), and low availability impact (resource consumption).

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 7.6 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/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
High
Integrity
Low
Availability
Low

DescriptionCVE.org

Base Model Routing Bypasses Access Control via Model Chaining

Affected Component

Model chaining via base_model_id:

  • backend/open_webui/routers/models.py (lines 170-214, create_new_model)
  • backend/open_webui/routers/models.py (lines 254-308, import_models)
  • backend/open_webui/main.py (lines 1696-1711, base model resolution in chat completion)
  • backend/open_webui/routers/openai.py (lines 1032-1037, base model payload rewrite)
  • backend/open_webui/routers/ollama.py (lines 1086-1090, base model payload rewrite)
  • backend/open_webui/utils/models.py (line 380, check_model_access - checks user-facing model only)

Affected Versions

Current main branch (commit 6fdd19bf1) and likely all versions with the model chaining (base_model_id) feature.

Description

Open WebUI supports model composition via base_model_id: a user-defined model (e.g., "Cheap Assistant") can reference an existing base model (e.g., "gpt-4-turbo-restricted") that provides the actual inference capability. When a user queries the composed model, the access control pipeline verifies the user has access to the composed model but never re-verifies access to the chained base model.

Additionally, the model creation and import endpoints accept arbitrary base_model_id values without checking that the caller has access to that base model. Combined, this allows any user with the default model creation permission to create a model that chains to a restricted base model - and then invoke it, causing the server to dispatch the request to the restricted base model using the admin-configured API key.

python
# utils/models.py:380 - access check runs against the user-facing model only
def check_model_access(user, model):
    if user.role == 'user':
        ...check access grants on `model`...
# main.py:1696-1711 - base model resolved without access check
base_model = request.app.state.MODELS.get(model.info.base_model_id)
if base_model:
# payload["model"] is rewritten to base_model.id
# but no check_model_access(user, base_model) is performed
# openai.py:1032-1037 / ollama.py:1086-1090 - the rewritten payload is dispatched
payload['model'] = base_model_id

Attack Scenario

  1. Admin provisions a premium/restricted model gpt-4-turbo-restricted and configures access grants so only the "ML Engineers" group can use it.
  2. Attacker (a regular user not in that group) calls:
   POST /api/v1/models/create
   {
     "id": "cheap-assistant",
     "name": "Cheap Assistant",
     "base_model_id": "gpt-4-turbo-restricted",
     "params": {},
     "meta": {}
   }

The creation endpoint does not validate the attacker's access to gpt-4-turbo-restricted.

  1. Attacker now owns cheap-assistant. check_model_access(attacker, cheap-assistant) passes trivially because they are the owner.
  2. Attacker sends:
   POST /api/chat/completions
   {"model": "cheap-assistant", "messages": [...]}
  1. At main.py:1696, the pipeline resolves cheap-assistant.base_model_id to gpt-4-turbo-restricted, rewrites payload["model"] to the base model ID, and dispatches the upstream request with the admin-configured API key for the backend.
  2. The attacker receives responses from the restricted model, bypassing the access grant policy.

The same bypass is available via the import endpoint, which additionally allows overwriting existing models (see related finding on model import ownership).

Impact

  • Regular users can query restricted models by chaining through a self-owned wrapper model
  • Access control on gpt-4-turbo-restricted (or equivalent paid/tiered/internal models) becomes silently ineffective
  • Direct cost impact on pay-per-token backends (OpenAI, Anthropic, Azure) - the admin's API key is used for requests the admin intended to forbid
  • Creates a false sense of security - the admin sees access restrictions work through the standard model selector but not through user-created chains

Preconditions

  • Attacker must have model creation permission (default workspace.models permission, granted to all users by default)
  • A restricted base model must exist on the instance (the target of the chain)

Executive ViewAI

Why It Matters

Open WebUI versions 0.8.12 and earlier allow authenticated users to circumvent model access controls through model reference manipulation, enabling unauthorized access to premium AI models and depletion of organizational API credits on platforms like OpenAI and Anthropic. Any standard user can exploit this to escalate to restricted capabilities and incur significant unexpected costs, directly impacting budget forecasting and access governance for AI services.

Business Impact: High
Compensating Controls

If upgrade to version 0.9.0 is not immediately possible: (1) restrict model creation permissions to administrators only via role-based access controls; (2) implement audit logging on all model creation and query operations; (3) enforce API key rate limiting and spending alerts at the backend provider level (OpenAI, Anthropic, Azure); (4) segregate production API credentials from user-accessible Open WebUI instances. Apply vendor patch to version 0.9.0 as primary remediation once deployment schedule permits.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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